orca.cod.plugins.config
Class CodAntConfig

java.lang.Object
  extended by orca.shirako.plugins.config.Config
      extended by orca.shirako.plugins.config.AntConfig
          extended by orca.cod.plugins.config.CodAntConfig
All Implemented Interfaces:
IInitialize, ISerialize

public class CodAntConfig
extends AntConfig


Field Summary
static java.lang.String AntCodHome
           
static java.lang.String AntSiteName
           
static java.lang.String CodDefaultXml
           
protected  java.lang.String codHome
           
static java.lang.String PropertyCodHome
           
static java.lang.String PropertyIscsiBase
           
static java.lang.String PropertyIscsiConfigHost
           
static java.lang.String PropertyNfsConfigHost
           
static java.lang.String PropertySiteName
           
static java.lang.String PropertyZfsBase
           
protected  java.lang.String siteGuid
           
 
Fields inherited from class orca.shirako.plugins.config.AntConfig
capacity, DefaultCapacity, DefaultThreads, defaultXml, DefaultXml, files, go, lock, maxThreads, pollInterval, PropertyActorID, PropertyAntFile, PropertyAntProjectHelper, PropertyAxis2Repository, PropertyConfigCount, PropertyConfigFilePrefix, PropertyConfigTypePrefix, PropertyContainerGuid, PropertyEmulation, PropertyEndTime, PropertyNodeAgentPort, PropertyNodeAgentProtocol, PropertyNodeAgentUri, PropertyRootDir, PropertySecureCommunication, PropertyStartTime, PropertyXmlFile, size, tasks, threads
 
Fields inherited from class orca.shirako.plugins.config.Config
isSynchronous, logger, plugin, PropertyActionSequenceNumber, PropertyConfig, PropertyConfigurationProperties, PropertyExceptionMessage, PropertyExceptionStack, PropertyOutputPrefix, PropertyResourceType, PropertySavePrefix, PropertyTargetName, PropertyTargetResultCode, PropertyTargetResultCodeMessage, PropertyUnitAll, ResultCodeException, ResultCodeOK, TargetJoin, TargetLeave, TargetModify, TargetProbe, TargetRecover
 
Constructor Summary
CodAntConfig()
           
CodAntConfig(ShirakoPlugin plugin)
           
 
Method Summary
protected  void attachConfigFile(java.util.Properties properties)
           
 void configure(java.util.Properties p)
           
protected  void getSiteGuid()
           
 void initialize()
          Initializes the object.
protected  void preprocess(java.util.Properties p)
           
 void reset(java.util.Properties p)
          De-serializes the object from the given properties list.
 void save(java.util.Properties p)
          Serializes the object into the given properties list.
protected  void setHandlerProperties(java.util.Properties properties)
           
 
Methods inherited from class orca.shirako.plugins.config.AntConfig
addConfigFile, addConfigMapping, enqueueBlocking, getResourceType, join, leave, loadMapping, modify, probe, recover, revisit, setConfigFile, setDefaultXml, storeMapping, storeMapping
 
Methods inherited from class orca.shirako.plugins.config.Config
getActionSequenceNumber, printProperties, revisit, save, setActionSequenceNumber, setAll, setLogger, setSlicesPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PropertyCodHome

public static final java.lang.String PropertyCodHome
See Also:
Constant Field Values

PropertySiteName

public static final java.lang.String PropertySiteName
See Also:
Constant Field Values

PropertyNfsConfigHost

public static final java.lang.String PropertyNfsConfigHost
See Also:
Constant Field Values

PropertyIscsiConfigHost

public static final java.lang.String PropertyIscsiConfigHost
See Also:
Constant Field Values

PropertyIscsiBase

public static final java.lang.String PropertyIscsiBase
See Also:
Constant Field Values

PropertyZfsBase

public static final java.lang.String PropertyZfsBase
See Also:
Constant Field Values

AntCodHome

public static final java.lang.String AntCodHome
See Also:
Constant Field Values

AntSiteName

public static final java.lang.String AntSiteName
See Also:
Constant Field Values

CodDefaultXml

public static final java.lang.String CodDefaultXml
See Also:
Constant Field Values

codHome

protected java.lang.String codHome

siteGuid

protected java.lang.String siteGuid
Constructor Detail

CodAntConfig

public CodAntConfig()

CodAntConfig

public CodAntConfig(ShirakoPlugin plugin)
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Description copied from interface: IInitialize
Initializes the object.

Specified by:
initialize in interface IInitialize
Overrides:
initialize in class AntConfig
Throws:
java.lang.Exception

getSiteGuid

protected void getSiteGuid()

configure

public void configure(java.util.Properties p)
               throws java.lang.Exception
Overrides:
configure in class AntConfig
Throws:
java.lang.Exception

preprocess

protected void preprocess(java.util.Properties p)
Overrides:
preprocess in class AntConfig

attachConfigFile

protected void attachConfigFile(java.util.Properties properties)
                         throws java.lang.Exception
Overrides:
attachConfigFile in class AntConfig
Throws:
java.lang.Exception

setHandlerProperties

protected void setHandlerProperties(java.util.Properties properties)
Overrides:
setHandlerProperties in class AntConfig

save

public void save(java.util.Properties p)
          throws java.lang.Exception
Description copied from interface: ISerialize
Serializes the object into the given properties list.

Specified by:
save in interface ISerialize
Overrides:
save in class Config
Parameters:
p - properties list to serialize the object into
Throws:
java.lang.Exception

reset

public void reset(java.util.Properties p)
           throws java.lang.Exception
Description copied from interface: ISerialize
De-serializes the object from the given properties list.

Specified by:
reset in interface ISerialize
Overrides:
reset in class Config
Parameters:
p - properties list containing the serialized version of the object
Throws:
java.lang.Exception


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.