orca.shirako.plugins.config
Class AntConfig
java.lang.Object
orca.shirako.plugins.config.Config
orca.shirako.plugins.config.AntConfig
- All Implemented Interfaces:
- IInitialize, ISerialize
- Direct Known Subclasses:
- CodAntConfig
public class AntConfig
- extends Config
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCapacity
public static int DefaultCapacity
DefaultThreads
public static int DefaultThreads
pollInterval
public static int pollInterval
capacity
protected int capacity
maxThreads
protected int maxThreads
threads
protected java.lang.Thread[] threads
lock
protected java.lang.Object lock
tasks
protected java.util.LinkedList<orca.shirako.plugins.config.AntConfig.RunConfig> tasks
size
protected int size
go
protected boolean go
PropertyAntFile
public static final java.lang.String PropertyAntFile
- See Also:
- Constant Field Values
PropertyAntProjectHelper
public static final java.lang.String PropertyAntProjectHelper
- See Also:
- Constant Field Values
DefaultXml
public static final java.lang.String DefaultXml
- See Also:
- Constant Field Values
PropertyXmlFile
public static final java.lang.String PropertyXmlFile
- See Also:
- Constant Field Values
PropertyConfigCount
public static final java.lang.String PropertyConfigCount
- See Also:
- Constant Field Values
PropertyConfigTypePrefix
public static final java.lang.String PropertyConfigTypePrefix
- See Also:
- Constant Field Values
PropertyConfigFilePrefix
public static final java.lang.String PropertyConfigFilePrefix
- See Also:
- Constant Field Values
PropertyRootDir
public static final java.lang.String PropertyRootDir
- See Also:
- Constant Field Values
PropertyActorID
public static final java.lang.String PropertyActorID
- See Also:
- Constant Field Values
PropertyContainerGuid
public static final java.lang.String PropertyContainerGuid
- See Also:
- Constant Field Values
PropertyAxis2Repository
public static final java.lang.String PropertyAxis2Repository
- See Also:
- Constant Field Values
PropertySecureCommunication
public static final java.lang.String PropertySecureCommunication
- See Also:
- Constant Field Values
PropertyEmulation
public static final java.lang.String PropertyEmulation
- See Also:
- Constant Field Values
PropertyNodeAgentPort
public static final java.lang.String PropertyNodeAgentPort
- See Also:
- Constant Field Values
PropertyNodeAgentProtocol
public static final java.lang.String PropertyNodeAgentProtocol
- See Also:
- Constant Field Values
PropertyNodeAgentUri
public static final java.lang.String PropertyNodeAgentUri
- See Also:
- Constant Field Values
PropertyStartTime
public static final java.lang.String PropertyStartTime
- See Also:
- Constant Field Values
PropertyEndTime
public static final java.lang.String PropertyEndTime
- See Also:
- Constant Field Values
files
protected java.util.Hashtable<java.lang.String,ConfigurationMapping> files
defaultXml
protected java.lang.String defaultXml
AntConfig
public AntConfig()
AntConfig
public AntConfig(ShirakoPlugin plugin)
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 Config
- Throws:
java.lang.Exception
storeMapping
protected void storeMapping()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadMapping
protected void loadMapping()
throws java.lang.Exception
- Throws:
java.lang.Exception
revisit
public void revisit(Actor actor,
java.util.Properties p)
throws java.lang.Exception
- Throws:
java.lang.Exception
storeMapping
protected void storeMapping(ConfigurationMapping mapping)
addConfigMapping
public void addConfigMapping(ConfigurationMapping mapping)
addConfigFile
public void addConfigFile(ResourceType resourceType,
java.lang.String file)
setConfigFile
public void setConfigFile(java.lang.String config)
configure
public void configure(java.util.Properties p)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResourceType
protected ResourceType getResourceType(java.util.Properties p)
throws java.lang.Exception
- Throws:
java.lang.Exception
attachConfigFile
protected void attachConfigFile(java.util.Properties properties)
throws java.lang.Exception
- Throws:
java.lang.Exception
preprocess
protected void preprocess(java.util.Properties p)
enqueueBlocking
public void enqueueBlocking(orca.shirako.plugins.config.AntConfig.RunConfig task)
throws java.lang.Exception
- Throws:
java.lang.Exception
join
public void join(java.lang.Object token,
java.util.Properties p)
throws java.lang.Exception
- Overrides:
join in class Config
- Parameters:
token - A token to use for the callback
- Throws:
java.lang.Exception
leave
public void leave(java.lang.Object token,
java.util.Properties p)
throws java.lang.Exception
- Overrides:
leave in class Config
- Throws:
java.lang.Exception
probe
public void probe(java.lang.Object token,
java.util.Properties p)
throws java.lang.Exception
- Overrides:
probe in class Config
- Throws:
java.lang.Exception
recover
public void recover(java.lang.Object token,
java.util.Properties p)
throws java.lang.Exception
- Overrides:
recover in class Config
- Throws:
java.lang.Exception
modify
public void modify(java.lang.Object token,
java.util.Properties p)
throws java.lang.Exception
- Overrides:
modify in class Config
- Throws:
java.lang.Exception
setDefaultXml
public void setDefaultXml(java.lang.String value)
setHandlerProperties
protected void setHandlerProperties(java.util.Properties properties)
Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.