public class RootComponentConfiguration extends java.lang.Object implements IRootComponentConfiguration
IRootComponentConfiguration.AWAMECHANISM, IRootComponentConfiguration.KERNEL
ADDRESS, ASYNCEXECUTION, AWADELAY, AWAEXCLUDES, AWAFAST, AWAINCLUDES, AWAMECHANISMS, AWARENESS, BASECLASSLOADER, BINARYMESSAGES, BOOLEAN_ARGS, CHAT, CLI, CLICONSOLE, CLOCK, COMPONENT_FACTORY, CONTEXT, CONTEXTSERVICECLASS, DF, FILETRANSFER, GUI, JCCPLATFORMS, KERNELS, LIBPATH, LIBRARY, LOCALTRANSPORT, LOGGING, LOGGING_LEVEL, MARSHAL, MAVEN_DEPENDENCIES, MESSAGE, MONITORINGCOMP, NETWORKNAME, NETWORKPASS, NIOTCPPORT, NIOTCPTRANSPORT, PERSIST, PLATFORM_ACCESS, PRINTPASS, PROGRAM_ARGUMENTS, REGISTRY_SYNC, RELAYADDRESS, RELAYAWAONLY, RELAYSECURITY, RELAYTRANSPORT, RSPUBLISH, RSPUBLISHCOMPONENT, SAVEONEXIT, SECURITY, SENSORS, SETTINGS, SIMUL, SIMULATION, SSLTCPPORT, SSLTCPTRANSPORT, STRICTCOM, TCPPORT, TCPTRANSPORT, THREADPOOLCLASS, THREADPOOLDEFER, TRUSTEDLAN, UNIQUEIDS, USEPASS, VALIDITYDURATION, VIRTUALNAMES, WELCOME, WSPUBLISH
Constructor and Description |
---|
RootComponentConfiguration()
Create a new configuration.
|
RootComponentConfiguration(RootComponentConfiguration source)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkConsistency()
Checks this config for consistency.
|
void |
enhanceWith(RootComponentConfiguration other)
Enhance this config with given other config.
|
boolean |
getAddress() |
java.util.Map<java.lang.String,java.lang.Object> |
getArgs() |
boolean |
getAsyncExecution() |
long |
getAwaDelay() |
java.lang.String |
getAwaExcludes() |
java.lang.String |
getAwaIncludes() |
IRootComponentConfiguration.AWAMECHANISM[] |
getAwaMechanisms() |
boolean |
getAwareness() |
java.lang.ClassLoader |
getBaseClassloader() |
boolean |
getBinaryMessages() |
boolean |
getChat() |
boolean |
getCli() |
boolean |
getCliConsole() |
boolean |
getClock() |
boolean |
getContext() |
java.lang.String |
getContextServiceClass() |
boolean |
getDf() |
boolean |
getFiletransfer() |
boolean |
getGui() |
java.lang.String |
getJccPlatforms() |
IRootComponentConfiguration.KERNEL[] |
getKernels() |
java.lang.String |
getLibPath() |
boolean |
getLibrary() |
boolean |
getLocalTransport() |
boolean |
getLogging() |
java.util.logging.Level |
getLoggingLevel() |
boolean |
getMarshal() |
boolean |
getMavenDependencies() |
boolean |
getMessage() |
boolean |
getMonitoringComp() |
java.lang.String |
getNetworkName() |
java.lang.String |
getNetworkPass() |
int |
getNioTcpPort() |
boolean |
getNioTcpTransport() |
boolean |
getPersist() |
boolean |
getPrintPass() |
boolean |
getRegistrySync() |
java.lang.String |
getRelayAddress() |
boolean |
getRelayAwaonly() |
boolean |
getRelaySecurity() |
boolean |
getRelayTransport() |
boolean |
getRsPublish() |
java.lang.String |
getRsPublishComponent() |
boolean |
getSaveOnExit() |
boolean |
getSecurity() |
boolean |
getSensors() |
boolean |
getSettings() |
boolean |
getSimul() |
boolean |
getSimulation() |
int |
getSslTcpPort() |
boolean |
getSslTcpTransport() |
boolean |
getStrictCom() |
int |
getTcpPort() |
boolean |
getTcpTransport() |
java.lang.String |
getThreadpoolClass() |
boolean |
getThreadpoolDefer() |
boolean |
getTrustedLan() |
boolean |
getUniqueIds() |
boolean |
getUsePass() |
long |
getValidityDuration() |
java.lang.Object |
getValue(java.lang.String key)
Returns a value of a given configuration parameter.
|
java.util.Map |
getVirtualNames() |
boolean |
getWelcome() |
boolean |
getWsPublish() |
boolean |
isAwaFast() |
void |
setAddress(boolean value) |
void |
setAsyncExecution(boolean value) |
void |
setAwaDelay(long value) |
void |
setAwaExcludes(java.lang.String value) |
void |
setAwaFast(boolean value) |
void |
setAwaIncludes(java.lang.String value) |
void |
setAwaMechanisms(IRootComponentConfiguration.AWAMECHANISM... values) |
void |
setAwareness(boolean value) |
void |
setBaseClassloader(java.lang.ClassLoader value) |
void |
setBinaryMessages(boolean value) |
void |
setChat(boolean value) |
void |
setCli(boolean value) |
void |
setCliConsole(boolean value) |
void |
setClock(boolean value) |
void |
setComponentFactory(IComponentFactory value)
Set the component factory.
|
void |
setContext(boolean value) |
void |
setContextServiceClass(java.lang.String value) |
void |
setDf(boolean value) |
void |
setFiletransfer(boolean value) |
void |
setGui(boolean value) |
void |
setJccPlatforms(java.lang.String value) |
void |
setKernels(IRootComponentConfiguration.KERNEL... value) |
void |
setKernels(java.lang.String... value) |
void |
setLibPath(java.lang.String value) |
void |
setLibrary(boolean value) |
void |
setLocalTransport(boolean value) |
void |
setLogging(boolean value) |
void |
setLoggingLevel(java.util.logging.Level value) |
void |
setMarshal(boolean value) |
void |
setMavenDependencies(boolean value) |
void |
setMessage(boolean value) |
void |
setModel(IModelInfo model) |
void |
setMonitoringComp(boolean value) |
void |
setNetworkName(java.lang.String value) |
void |
setNetworkPass(java.lang.String value) |
void |
setNioTcpPort(int value) |
void |
setNioTcpTransport(boolean value) |
void |
setPersist(boolean value) |
void |
setPlatformAccess(IPlatformComponentAccess value)
Set the platform access.
|
void |
setPrintPass(boolean value) |
void |
setProgramArguments(java.lang.String[] args)
Set program arguments to be available at runtime.
|
void |
setRegistrySync(boolean value) |
void |
setRelayAddress(java.lang.String value) |
void |
setRelayAwaonly(boolean value) |
void |
setRelaySecurity(boolean value) |
void |
setRelayTransport(boolean value) |
void |
setRsPublish(boolean value) |
void |
setRsPublishComponent(java.lang.String value) |
void |
setSaveOnExit(boolean value) |
void |
setSecurity(boolean value) |
void |
setSensors(boolean value) |
void |
setSettings(boolean value) |
void |
setSimul(boolean value) |
void |
setSimulation(boolean value) |
void |
setSslTcpPort(int value) |
void |
setSslTcpTransport(boolean value) |
void |
setStrictCom(boolean value) |
void |
setTcpPort(int value) |
void |
setTcpTransport(boolean value) |
void |
setThreadpoolClass(java.lang.String value) |
void |
setThreadpoolDefer(boolean value) |
void |
setTrustedLan(boolean value) |
void |
setUniqueIds(boolean value) |
void |
setUsePass(boolean value) |
void |
setValidityDuration(long value) |
void |
setValue(java.lang.String key,
java.lang.Object val)
Set a value in the root component configuration
|
void |
setVirtualNames(java.util.Map value) |
void |
setWelcome(boolean value) |
void |
setWsPublish(boolean value) |
public RootComponentConfiguration()
public RootComponentConfiguration(RootComponentConfiguration source)
source
- public void setModel(IModelInfo model)
public void setValue(java.lang.String key, java.lang.Object val)
key
- a key from the constants in this class.val
- the valuepublic java.lang.Object getValue(java.lang.String key)
key
- the keypublic java.util.Map<java.lang.String,java.lang.Object> getArgs()
getArgs
in interface IRootComponentConfiguration
public void setProgramArguments(java.lang.String[] args)
IRootComponentConfiguration
setProgramArguments
in interface IRootComponentConfiguration
public boolean getWelcome()
getWelcome
in interface IRootComponentConfiguration
public void setWelcome(boolean value)
setWelcome
in interface IRootComponentConfiguration
public void setPlatformAccess(IPlatformComponentAccess value)
IRootComponentConfiguration
setPlatformAccess
in interface IRootComponentConfiguration
public void setComponentFactory(IComponentFactory value)
IRootComponentConfiguration
setComponentFactory
in interface IRootComponentConfiguration
public boolean getGui()
getGui
in interface IRootComponentConfiguration
public void setGui(boolean value)
setGui
in interface IRootComponentConfiguration
public boolean getCli()
getCli
in interface IRootComponentConfiguration
public void setCli(boolean value)
setCli
in interface IRootComponentConfiguration
public boolean getCliConsole()
getCliConsole
in interface IRootComponentConfiguration
public void setCliConsole(boolean value)
setCliConsole
in interface IRootComponentConfiguration
public boolean getSaveOnExit()
getSaveOnExit
in interface IRootComponentConfiguration
public void setSaveOnExit(boolean value)
setSaveOnExit
in interface IRootComponentConfiguration
public java.lang.String getJccPlatforms()
getJccPlatforms
in interface IRootComponentConfiguration
public void setJccPlatforms(java.lang.String value)
setJccPlatforms
in interface IRootComponentConfiguration
public boolean getLogging()
getLogging
in interface IRootComponentConfiguration
public void setLogging(boolean value)
setLogging
in interface IRootComponentConfiguration
public java.util.logging.Level getLoggingLevel()
getLoggingLevel
in interface IRootComponentConfiguration
public void setLoggingLevel(java.util.logging.Level value)
setLoggingLevel
in interface IRootComponentConfiguration
public boolean getSimulation()
getSimulation
in interface IRootComponentConfiguration
public void setSimulation(boolean value)
setSimulation
in interface IRootComponentConfiguration
public boolean getAsyncExecution()
getAsyncExecution
in interface IRootComponentConfiguration
public void setAsyncExecution(boolean value)
setAsyncExecution
in interface IRootComponentConfiguration
public boolean getPersist()
getPersist
in interface IRootComponentConfiguration
public void setPersist(boolean value)
setPersist
in interface IRootComponentConfiguration
public boolean getUniqueIds()
getUniqueIds
in interface IRootComponentConfiguration
public void setUniqueIds(boolean value)
setUniqueIds
in interface IRootComponentConfiguration
public boolean getThreadpoolDefer()
getThreadpoolDefer
in interface IRootComponentConfiguration
public void setThreadpoolDefer(boolean value)
setThreadpoolDefer
in interface IRootComponentConfiguration
public java.lang.String getLibPath()
getLibPath
in interface IRootComponentConfiguration
public void setLibPath(java.lang.String value)
setLibPath
in interface IRootComponentConfiguration
public java.lang.ClassLoader getBaseClassloader()
getBaseClassloader
in interface IRootComponentConfiguration
public void setBaseClassloader(java.lang.ClassLoader value)
setBaseClassloader
in interface IRootComponentConfiguration
public boolean getChat()
getChat
in interface IRootComponentConfiguration
public void setChat(boolean value)
setChat
in interface IRootComponentConfiguration
public boolean getAwareness()
getAwareness
in interface IRootComponentConfiguration
public void setAwareness(boolean value)
setAwareness
in interface IRootComponentConfiguration
public IRootComponentConfiguration.AWAMECHANISM[] getAwaMechanisms()
getAwaMechanisms
in interface IRootComponentConfiguration
public void setAwaMechanisms(IRootComponentConfiguration.AWAMECHANISM... values)
setAwaMechanisms
in interface IRootComponentConfiguration
public long getAwaDelay()
getAwaDelay
in interface IRootComponentConfiguration
public void setAwaDelay(long value)
setAwaDelay
in interface IRootComponentConfiguration
public boolean isAwaFast()
isAwaFast
in interface IRootComponentConfiguration
public void setAwaFast(boolean value)
setAwaFast
in interface IRootComponentConfiguration
public java.lang.String getAwaIncludes()
getAwaIncludes
in interface IRootComponentConfiguration
public void setAwaIncludes(java.lang.String value)
setAwaIncludes
in interface IRootComponentConfiguration
public java.lang.String getAwaExcludes()
getAwaExcludes
in interface IRootComponentConfiguration
public void setAwaExcludes(java.lang.String value)
setAwaExcludes
in interface IRootComponentConfiguration
public boolean getBinaryMessages()
getBinaryMessages
in interface IRootComponentConfiguration
public void setBinaryMessages(boolean value)
setBinaryMessages
in interface IRootComponentConfiguration
public boolean getStrictCom()
getStrictCom
in interface IRootComponentConfiguration
public void setStrictCom(boolean value)
setStrictCom
in interface IRootComponentConfiguration
public boolean getUsePass()
getUsePass
in interface IRootComponentConfiguration
public void setUsePass(boolean value)
setUsePass
in interface IRootComponentConfiguration
public boolean getPrintPass()
getPrintPass
in interface IRootComponentConfiguration
public void setPrintPass(boolean value)
setPrintPass
in interface IRootComponentConfiguration
public boolean getTrustedLan()
getTrustedLan
in interface IRootComponentConfiguration
public void setTrustedLan(boolean value)
setTrustedLan
in interface IRootComponentConfiguration
public java.lang.String getNetworkName()
getNetworkName
in interface IRootComponentConfiguration
public void setNetworkName(java.lang.String value)
setNetworkName
in interface IRootComponentConfiguration
public java.lang.String getNetworkPass()
getNetworkPass
in interface IRootComponentConfiguration
public void setNetworkPass(java.lang.String value)
setNetworkPass
in interface IRootComponentConfiguration
public java.util.Map getVirtualNames()
getVirtualNames
in interface IRootComponentConfiguration
public void setVirtualNames(java.util.Map value)
setVirtualNames
in interface IRootComponentConfiguration
public long getValidityDuration()
getValidityDuration
in interface IRootComponentConfiguration
public void setValidityDuration(long value)
setValidityDuration
in interface IRootComponentConfiguration
public boolean getLocalTransport()
getLocalTransport
in interface IRootComponentConfiguration
public void setLocalTransport(boolean value)
setLocalTransport
in interface IRootComponentConfiguration
public boolean getTcpTransport()
getTcpTransport
in interface IRootComponentConfiguration
public void setTcpTransport(boolean value)
setTcpTransport
in interface IRootComponentConfiguration
public int getTcpPort()
getTcpPort
in interface IRootComponentConfiguration
public void setTcpPort(int value)
setTcpPort
in interface IRootComponentConfiguration
public boolean getNioTcpTransport()
getNioTcpTransport
in interface IRootComponentConfiguration
public void setNioTcpTransport(boolean value)
setNioTcpTransport
in interface IRootComponentConfiguration
public int getNioTcpPort()
getNioTcpPort
in interface IRootComponentConfiguration
public void setNioTcpPort(int value)
setNioTcpPort
in interface IRootComponentConfiguration
public boolean getRelayTransport()
getRelayTransport
in interface IRootComponentConfiguration
public void setRelayTransport(boolean value)
setRelayTransport
in interface IRootComponentConfiguration
public java.lang.String getRelayAddress()
getRelayAddress
in interface IRootComponentConfiguration
public void setRelayAddress(java.lang.String value)
setRelayAddress
in interface IRootComponentConfiguration
public boolean getRelaySecurity()
getRelaySecurity
in interface IRootComponentConfiguration
public void setRelaySecurity(boolean value)
setRelaySecurity
in interface IRootComponentConfiguration
public boolean getRelayAwaonly()
getRelayAwaonly
in interface IRootComponentConfiguration
public void setRelayAwaonly(boolean value)
setRelayAwaonly
in interface IRootComponentConfiguration
public boolean getSslTcpTransport()
getSslTcpTransport
in interface IRootComponentConfiguration
public void setSslTcpTransport(boolean value)
setSslTcpTransport
in interface IRootComponentConfiguration
public int getSslTcpPort()
getSslTcpPort
in interface IRootComponentConfiguration
public void setSslTcpPort(int value)
setSslTcpPort
in interface IRootComponentConfiguration
public boolean getWsPublish()
getWsPublish
in interface IRootComponentConfiguration
public void setWsPublish(boolean value)
setWsPublish
in interface IRootComponentConfiguration
public boolean getRsPublish()
getRsPublish
in interface IRootComponentConfiguration
public void setRsPublish(boolean value)
setRsPublish
in interface IRootComponentConfiguration
public java.lang.String getRsPublishComponent()
getRsPublishComponent
in interface IRootComponentConfiguration
public void setRsPublishComponent(java.lang.String value)
setRsPublishComponent
in interface IRootComponentConfiguration
public IRootComponentConfiguration.KERNEL[] getKernels()
getKernels
in interface IRootComponentConfiguration
public void setKernels(java.lang.String... value)
setKernels
in interface IRootComponentConfiguration
public void setKernels(IRootComponentConfiguration.KERNEL... value)
setKernels
in interface IRootComponentConfiguration
public boolean getMavenDependencies()
getMavenDependencies
in interface IRootComponentConfiguration
public void setMavenDependencies(boolean value)
setMavenDependencies
in interface IRootComponentConfiguration
public boolean getMonitoringComp()
getMonitoringComp
in interface IRootComponentConfiguration
public void setMonitoringComp(boolean value)
setMonitoringComp
in interface IRootComponentConfiguration
public boolean getSensors()
getSensors
in interface IRootComponentConfiguration
public void setSensors(boolean value)
setSensors
in interface IRootComponentConfiguration
public java.lang.String getThreadpoolClass()
getThreadpoolClass
in interface IRootComponentConfiguration
public void setThreadpoolClass(java.lang.String value)
setThreadpoolClass
in interface IRootComponentConfiguration
public java.lang.String getContextServiceClass()
getContextServiceClass
in interface IRootComponentConfiguration
public void setContextServiceClass(java.lang.String value)
setContextServiceClass
in interface IRootComponentConfiguration
public boolean getDf()
getDf
in interface IRootComponentConfiguration
public void setDf(boolean value)
setDf
in interface IRootComponentConfiguration
public boolean getClock()
getClock
in interface IRootComponentConfiguration
public void setClock(boolean value)
setClock
in interface IRootComponentConfiguration
public boolean getMessage()
getMessage
in interface IRootComponentConfiguration
public void setMessage(boolean value)
setMessage
in interface IRootComponentConfiguration
public boolean getSimul()
getSimul
in interface IRootComponentConfiguration
public void setSimul(boolean value)
setSimul
in interface IRootComponentConfiguration
public boolean getFiletransfer()
getFiletransfer
in interface IRootComponentConfiguration
public void setFiletransfer(boolean value)
setFiletransfer
in interface IRootComponentConfiguration
public boolean getMarshal()
getMarshal
in interface IRootComponentConfiguration
public void setMarshal(boolean value)
setMarshal
in interface IRootComponentConfiguration
public boolean getSecurity()
getSecurity
in interface IRootComponentConfiguration
public void setSecurity(boolean value)
setSecurity
in interface IRootComponentConfiguration
public boolean getLibrary()
getLibrary
in interface IRootComponentConfiguration
public void setLibrary(boolean value)
setLibrary
in interface IRootComponentConfiguration
public boolean getSettings()
getSettings
in interface IRootComponentConfiguration
public void setSettings(boolean value)
setSettings
in interface IRootComponentConfiguration
public boolean getContext()
getContext
in interface IRootComponentConfiguration
public void setContext(boolean value)
setContext
in interface IRootComponentConfiguration
public boolean getAddress()
getAddress
in interface IRootComponentConfiguration
public void setAddress(boolean value)
setAddress
in interface IRootComponentConfiguration
public boolean getRegistrySync()
getRegistrySync
in interface IRootComponentConfiguration
public void setRegistrySync(boolean value)
setRegistrySync
in interface IRootComponentConfiguration
public void enhanceWith(RootComponentConfiguration other)
other
- protected void checkConsistency()