public class RootComponentConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RootComponentConfiguration.AWAMECHANISM
Discovery names enum.
|
static class |
RootComponentConfiguration.KERNEL
Kernel names enum.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADDRESS
Flag if address component and service should be started.
|
static java.lang.String |
ASYNCEXECUTION
Use asynchronous execution mode?
|
static java.lang.String |
AWADELAY
The awareness delay in milliseconds
|
static java.lang.String |
AWAEXCLUDES
Exclude entries for awareness agent.
|
static java.lang.String |
AWAINCLUDES
Include entries for awareness agent.
|
static java.lang.String |
AWAMECHANISMS
Specify the awareness agent discovery mechanisms (comma separated).
|
static java.lang.String |
AWARENESS
Start the awareness agent (awa) for automatic platform discovery.
|
static java.lang.String |
BASECLASSLOADER
The base classloader.
|
static java.lang.String |
BINARYMESSAGES
Use a compact binary message format instead of XML by default.
|
static java.lang.String |
CHAT
Start the chat agent for instant messaging and file transfer with user
Jadex users.
|
static java.lang.String |
CLI
Start the platform with command line interface (cli) activated? (requires
Jadex Pro add-on)
|
static java.lang.String |
CLICONSOLE
Start cli with console in or not
|
static java.lang.String |
CLOCK
Flag if clock component and service should be started.
|
static java.lang.String |
COMPONENT_FACTORY
The component factory instance.
|
static java.lang.String |
CONTEXT
Flag if context component and service should be started.
|
static java.lang.String |
CONTEXTSERVICECLASS
Optionally provide alternative context service implementation.
|
static java.lang.String |
DF
Flag if df component and service should be started.
|
static java.lang.String |
DHT_PROVIDE
Flag if dht storage ring should be provided.
|
static java.lang.String |
FILETRANSFER
Flag if filetransfer component and service should be started.
|
static java.lang.String |
GUI
Start the JCC agent to open the platform GUI?
|
static java.lang.String |
JCCPLATFORMS
Open JCC for specific remote platforms.
|
static java.lang.String |
KERNELS
The name(s) of kernel(s) to load (separated by comma).
|
static java.lang.String |
LIBPATH
Additional library paths (classpath entries) for loading agent models and
classes.
|
static java.lang.String |
LIBRARY
Flag if library component and service should be started.
|
static java.lang.String |
LOCALTRANSPORT
Flag if local transport is enabled.
|
static java.lang.String |
LOGGING
Enable verbose logging (shortcut for setting logging_level to info).
|
static java.lang.String |
LOGGING_LEVEL
Logging level for platform.
|
static java.lang.String |
MARSHAL
Flag if marshal component and service should be started.
|
static java.lang.String |
MAVEN_DEPENDENCIES
Flag to enable the Maven dependency service (requires Jadex Pro add-on).
|
static java.lang.String |
MESSAGE
Flag if message component and service should be started.
|
static java.lang.String |
MONITORINGCOMP
Flag if global monitoring is turned on.
|
static java.lang.String |
NETWORKNAME
Network name.
|
static java.lang.String |
NETWORKPASS
Network pass.
|
static java.lang.String |
NIOTCPPORT
Port for NIOTCP transport.
|
static java.lang.String |
NIOTCPTRANSPORT
Flag if niotcp transport is enabled.
|
static java.lang.String |
PERSIST
Flag to enable component persistence.
|
static java.lang.String |
PLATFORM_ACCESS
The IPlatformComponentAccess instance
|
static java.lang.String |
PRINTPASS
Flag if the platform password should be printed to the console.
|
static java.lang.String |
PROGRAM_ARGUMENTS
The saved program arguments.
|
static java.lang.String |
RELAYADDRESS
Address(es) for relay transport (one or more addresses separated by
commas).
|
static java.lang.String |
RELAYAWAONLY
Flag if only awareness messages should be sent through relay.
|
static java.lang.String |
RELAYSECURITY
Flag if relay should use HTTPS for receiving messages.
|
static java.lang.String |
RELAYTRANSPORT
Flag if relay transport is enabled.
|
static java.lang.String |
RSPUBLISH
Flag if rest service publishing is enabled.
|
static java.lang.String |
RSPUBLISHCOMPONENT
Optionally provide alternative rs publish implementation.
|
static java.lang.String |
SAVEONEXIT
Save platform settings on shutdown?
|
static java.lang.String |
SECURITY
Flag if security component and service should be started.
|
static java.lang.String |
SENSORS
Flag if sensors are turned on.
|
static java.lang.String |
SETTINGS
Flag if settings component and service should be started.
|
static java.lang.String |
SIMUL
Flag if simulation component and service should be started.
|
static java.lang.String |
SIMULATION
Use simulation execution mode?
|
static java.lang.String |
SSLTCPPORT
Port for SSL TCP transport.
|
static java.lang.String |
SSLTCPTRANSPORT
Flag if ssltcp transport should enabled (requires Jadex Pro add-on).
|
static java.lang.String |
STRICTCOM
Fail on recoverable message decoding errors instead of ignoring.
|
static java.lang.String |
TCPPORT
Port for TCP transport.
|
static java.lang.String |
TCPTRANSPORT
Flag if tcp transport is enabled.
|
static java.lang.String |
THREADPOOLCLASS
Optionally provide alternative thread pool implementation.
|
static java.lang.String |
THREADPOOLDEFER
Flag for deferring thread creation/deletion in thread pool
|
static java.lang.String |
TRUSTEDLAN
Flag if trusted lan should be used.
|
static java.lang.String |
UNIQUEIDS
Flag if CIDs may be reused (true for not).
|
static java.lang.String |
USEPASS
Flag if the platform should be protected with password.
|
static java.lang.String |
VALIDITYDURATION
The message validity duration (in minutes)
|
static java.lang.String |
VIRTUALNAMES
Virtual names that are used for authentication
|
static java.lang.String |
WELCOME
Tell starter to print welcome message.
|
static java.lang.String |
WSPUBLISH
Flag if web service publishing is enabled.
|
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() |
RootComponentConfiguration.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 |
getDhtProvide() |
boolean |
getFiletransfer() |
boolean |
getGui() |
java.lang.String |
getJccPlatforms() |
RootComponentConfiguration.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() |
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() |
void |
setAddress(boolean value) |
void |
setAsyncExecution(boolean value) |
void |
setAwaDelay(long value) |
void |
setAwaExcludes(java.lang.String value) |
void |
setAwaIncludes(java.lang.String value) |
void |
setAwaMechanisms(RootComponentConfiguration.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) |
protected void |
setComponentFactory(IComponentFactory value)
Set the component factory.
|
void |
setContext(boolean value) |
void |
setContextServiceClass(java.lang.String value) |
void |
setDf(boolean value) |
void |
setDhtProvide(boolean value) |
void |
setFiletransfer(boolean value) |
void |
setGui(boolean value) |
void |
setJccPlatforms(java.lang.String value) |
void |
setKernels(RootComponentConfiguration.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 |
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) |
protected void |
setPlatformAccess(IPlatformComponentAccess value)
Set the platform access.
|
void |
setPrintPass(boolean value) |
protected void |
setProgramArguments(java.lang.String[] args)
Set program arguments to be available at runtime.
|
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 static final java.lang.String WELCOME
public static final java.lang.String PLATFORM_ACCESS
public static final java.lang.String COMPONENT_FACTORY
public static final java.lang.String PROGRAM_ARGUMENTS
public static final java.lang.String GUI
public static final java.lang.String CLI
public static final java.lang.String CLICONSOLE
public static final java.lang.String SAVEONEXIT
public static final java.lang.String JCCPLATFORMS
public static final java.lang.String LOGGING
public static final java.lang.String LOGGING_LEVEL
public static final java.lang.String SIMULATION
public static final java.lang.String ASYNCEXECUTION
public static final java.lang.String PERSIST
public static final java.lang.String UNIQUEIDS
public static final java.lang.String THREADPOOLDEFER
public static final java.lang.String LIBPATH
public static final java.lang.String BASECLASSLOADER
public static final java.lang.String CHAT
public static final java.lang.String AWARENESS
public static final java.lang.String AWAMECHANISMS
public static final java.lang.String AWADELAY
public static final java.lang.String AWAINCLUDES
public static final java.lang.String AWAEXCLUDES
public static final java.lang.String BINARYMESSAGES
public static final java.lang.String STRICTCOM
public static final java.lang.String USEPASS
public static final java.lang.String PRINTPASS
public static final java.lang.String TRUSTEDLAN
public static final java.lang.String NETWORKNAME
public static final java.lang.String NETWORKPASS
public static final java.lang.String VIRTUALNAMES
public static final java.lang.String VALIDITYDURATION
public static final java.lang.String LOCALTRANSPORT
public static final java.lang.String TCPTRANSPORT
public static final java.lang.String TCPPORT
public static final java.lang.String NIOTCPTRANSPORT
public static final java.lang.String NIOTCPPORT
public static final java.lang.String RELAYTRANSPORT
public static final java.lang.String RELAYADDRESS
public static final java.lang.String RELAYSECURITY
public static final java.lang.String RELAYAWAONLY
public static final java.lang.String SSLTCPTRANSPORT
public static final java.lang.String SSLTCPPORT
public static final java.lang.String WSPUBLISH
public static final java.lang.String RSPUBLISH
public static final java.lang.String RSPUBLISHCOMPONENT
public static final java.lang.String KERNELS
public static final java.lang.String MAVEN_DEPENDENCIES
public static final java.lang.String MONITORINGCOMP
public static final java.lang.String SENSORS
public static final java.lang.String THREADPOOLCLASS
public static final java.lang.String CONTEXTSERVICECLASS
public static final java.lang.String DF
public static final java.lang.String CLOCK
public static final java.lang.String MESSAGE
public static final java.lang.String SIMUL
public static final java.lang.String FILETRANSFER
public static final java.lang.String MARSHAL
public static final java.lang.String SECURITY
public static final java.lang.String LIBRARY
public static final java.lang.String SETTINGS
public static final java.lang.String CONTEXT
public static final java.lang.String ADDRESS
public static final java.lang.String DHT_PROVIDE
public RootComponentConfiguration()
public RootComponentConfiguration(RootComponentConfiguration source)
source
- 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()
protected void setProgramArguments(java.lang.String[] args)
args
- public boolean getWelcome()
public void setWelcome(boolean value)
protected void setPlatformAccess(IPlatformComponentAccess value)
value
- protected void setComponentFactory(IComponentFactory value)
value
- public boolean getGui()
public void setGui(boolean value)
public boolean getCli()
public void setCli(boolean value)
public boolean getCliConsole()
public void setCliConsole(boolean value)
public boolean getSaveOnExit()
public void setSaveOnExit(boolean value)
public java.lang.String getJccPlatforms()
public void setJccPlatforms(java.lang.String value)
public boolean getLogging()
public void setLogging(boolean value)
public java.util.logging.Level getLoggingLevel()
public void setLoggingLevel(java.util.logging.Level value)
public boolean getSimulation()
public void setSimulation(boolean value)
public boolean getAsyncExecution()
public void setAsyncExecution(boolean value)
public boolean getPersist()
public void setPersist(boolean value)
public boolean getUniqueIds()
public void setUniqueIds(boolean value)
public boolean getThreadpoolDefer()
public void setThreadpoolDefer(boolean value)
public java.lang.String getLibPath()
public void setLibPath(java.lang.String value)
public java.lang.ClassLoader getBaseClassloader()
public void setBaseClassloader(java.lang.ClassLoader value)
public boolean getChat()
public void setChat(boolean value)
public boolean getAwareness()
public void setAwareness(boolean value)
public RootComponentConfiguration.AWAMECHANISM[] getAwaMechanisms()
public void setAwaMechanisms(RootComponentConfiguration.AWAMECHANISM... values)
public long getAwaDelay()
public void setAwaDelay(long value)
public java.lang.String getAwaIncludes()
public void setAwaIncludes(java.lang.String value)
public java.lang.String getAwaExcludes()
public void setAwaExcludes(java.lang.String value)
public boolean getBinaryMessages()
public void setBinaryMessages(boolean value)
public boolean getStrictCom()
public void setStrictCom(boolean value)
public boolean getUsePass()
public void setUsePass(boolean value)
public boolean getPrintPass()
public void setPrintPass(boolean value)
public boolean getTrustedLan()
public void setTrustedLan(boolean value)
public java.lang.String getNetworkName()
public void setNetworkName(java.lang.String value)
public java.lang.String getNetworkPass()
public void setNetworkPass(java.lang.String value)
public java.util.Map getVirtualNames()
public void setVirtualNames(java.util.Map value)
public long getValidityDuration()
public void setValidityDuration(long value)
public boolean getLocalTransport()
public void setLocalTransport(boolean value)
public boolean getTcpTransport()
public void setTcpTransport(boolean value)
public int getTcpPort()
public void setTcpPort(int value)
public boolean getNioTcpTransport()
public void setNioTcpTransport(boolean value)
public int getNioTcpPort()
public void setNioTcpPort(int value)
public boolean getRelayTransport()
public void setRelayTransport(boolean value)
public java.lang.String getRelayAddress()
public void setRelayAddress(java.lang.String value)
public boolean getRelaySecurity()
public void setRelaySecurity(boolean value)
public boolean getRelayAwaonly()
public void setRelayAwaonly(boolean value)
public boolean getSSLTCPTRANSPORT()
public void setSslTcpTransport(boolean value)
public int getSslTcpPort()
public void setSslTcpPort(int value)
public boolean getWsPublish()
public void setWsPublish(boolean value)
public boolean getRsPublish()
public void setRsPublish(boolean value)
public java.lang.String getRsPublishComponent()
public void setRsPublishComponent(java.lang.String value)
public RootComponentConfiguration.KERNEL[] getKernels()
public void setKernels(java.lang.String... value)
value
- public void setKernels(RootComponentConfiguration.KERNEL... value)
public boolean getMavenDependencies()
public void setMavenDependencies(boolean value)
public boolean getMonitoringComp()
public void setMonitoringComp(boolean value)
public boolean getSensors()
public void setSensors(boolean value)
public java.lang.String getThreadpoolClass()
public void setThreadpoolClass(java.lang.String value)
public java.lang.String getContextServiceClass()
public void setContextServiceClass(java.lang.String value)
public boolean getDf()
public void setDf(boolean value)
public boolean getClock()
public void setClock(boolean value)
public boolean getMessage()
public void setMessage(boolean value)
public boolean getSimul()
public void setSimul(boolean value)
public boolean getFiletransfer()
public void setFiletransfer(boolean value)
public boolean getMarshal()
public void setMarshal(boolean value)
public boolean getSecurity()
public void setSecurity(boolean value)
public boolean getLibrary()
public void setLibrary(boolean value)
public boolean getSettings()
public void setSettings(boolean value)
public boolean getContext()
public void setContext(boolean value)
public boolean getAddress()
public void setAddress(boolean value)
public boolean getDhtProvide()
public void setDhtProvide(boolean value)
public void enhanceWith(RootComponentConfiguration other)
other
- protected void checkConsistency()