Platform (Component)
Platform (Component)
Package jadex.platform
The platform provides the basic services for running components.
In addition, the platform exposes several configuration options as arguments.
Further platform start parameters, e.g. for custom initial components, are defined in the
jadex.base.Starter class.
Configurations
Name | Description |
---|---|
auto | Autoassigned name and port. Dynamically loads kernels as required. |
fixed | Fixed name and port. Dynamically loads kernels as required. |
Arguments
Name | Type | Default Value |
---|---|---|
The name of the platform component (null for auto generation). To use a custom prefix name and an auto generated postfix the name should end with _* (3 digits) or with _ and an arbitrary number of +, e.g. _++++. | ||
platformname | java.lang.String | "jadex" |
The configuration to use. | ||
configname | java.lang.String | "auto" |
Automatically shut down the platform when no user agents are running anymore. | ||
autoshutdown | boolean | false |
Tell the starter to use the default platform component implementation (usually no need to change). | ||
platformcomponent | java.lang.Class | jadex.platform.service.cms.PlatformComponent.class |
Tell starter to print welcome message. | ||
welcome | boolean | true |
The saved program arguments. | ||
programarguments | java.lang.String[] | null |
Start the JCC agent to open the platform GUI? | ||
gui | boolean | true |
Start the platform with command line interface (cli) activated? (requires Jadex Pro add-on) | ||
cli | boolean | true |
Start cli with console in or not | ||
cliconsole | boolean | true |
Save platform settings on shutdown? | ||
saveonexit | boolean | true |
Open JCC for specific remote platforms. | ||
jccplatforms | java.lang.String | null |
Enable verbose logging (shortcut for setting logging_level to info). | ||
logging | boolean | false |
Logging level for platform. | ||
logging_level | java.util.logging.Level | java.util.logging.Level.SEVERE |
Use simulation execution mode? | ||
simulation | java.lang.Boolean | null |
Use asynchronous execution mode? | ||
asyncexecution | java.lang.Boolean | null |
Flag to enable component persistence. | ||
persist | boolean | false |
Flag if CIDs may be reused (true for not). | ||
uniqueids | boolean | true |
Flag for deferring thread creation/deletion in thread pool | ||
threadpooldefer | boolean | true |
Additional library paths (classpath entries) for loading agent models and classes. | ||
libpath | java.lang.String | null |
The base classloader. | ||
baseclassloader | java.lang.ClassLoader | null |
Start the chat agent for instant messaging and file transfer with user Jadex users. | ||
chat | boolean | true |
Start the awareness agent (awa) for automatic platform discovery. | ||
awareness | boolean | true |
Specify the awareness agent discovery mechanisms (comma separated). | ||
awamechanisms | java.lang.String | "Broadcast, Multicast, Message, Relay, Local" |
The awareness delay in milliseconds | ||
awadelay | long | 20000 |
Include entries for awareness agent. | ||
awaincludes | java.lang.String | "" |
Exclude entries for awareness agent. | ||
awaexcludes | java.lang.String | "" |
Use a compact binary message format instead of XML by default. | ||
binarymessages | boolean | true |
Fail on recoverable message decoding errors instead of ignoring. | ||
strictcom | boolean | false |
Flag if the platform should be protected with password. If a value is provided this value overrides the settings value. | ||
usepass | java.lang.Boolean | null |
Flag if the platform password should be printed to the console. | ||
printpass | boolean | true |
Flag if trusted lan should be used. | ||
trustedlan | java.lang.Boolean | null |
Network name. | ||
networkname | java.lang.String | null |
Network pass. | ||
networkpass | java.lang.String | null |
Virtual names that are used for authentication | ||
virtualnames | java.util.Map | null |
The message validity duration (in minutes) | ||
validityduration | long | null |
Flag if local transport is enabled. | ||
localtransport | boolean | true |
Flag if tcp transport is enabled. | ||
tcptransport | boolean | false |
Port for TCP transport. | ||
tcpport | int | 9876 |
Flag if niotcp transport is enabled. | ||
niotcptransport | boolean | true |
Port for NIOTCP transport. | ||
niotcpport | int | 8765 |
Flag if relay transport is enabled. | ||
relaytransport | boolean | true |
Address(es) for relay transport (one or more addresses separated by commas). | ||
relayaddress | java.lang.String | jadex.platform.service.message.transport.httprelaymtp.SRelay.DEFAULT_ADDRESS |
Flag if relay should use HTTPS for receiving messages. | ||
relaysecurity | boolean | $args.relayaddress.indexOf("https://")==-1 ? false : true |
Flag if relay should only be used for awareness and not for messages. | ||
relayawaonly | boolean | false |
Flag if ssltcp transport should enabled (requires Jadex Pro add-on). | ||
ssltcptransport | boolean | false |
Port for SSL TCP transport. | ||
ssltcpport | int | 44334 |
Flag if web service publishing is enabled. | ||
wspublish | boolean | false |
Flag if rest service publishing is enabled. | ||
rspublish | boolean | false |
Rest publish implementation. | ||
rspublishcomponent | java.lang.String | jadex.commons.SReflect.chooseAvailableResource(jadex.bridge.service.types.publish.IPublishService.DEFAULT_RSPUBLISH_COMPONENTS) |
The name(s) of kernel(s) to load (separated by comma). Currently supports 'component', 'micro', 'bpmn', 'bdi', 'gpmn' and 'application' kernel. Alternatively, the 'multi' can be used to start any available kernels on demand. Specifying 'all' will start all available kernels directly. | ||
kernels | java.lang.String | "multi" |
Flag to enable the Maven dependency service (requires Jadex Pro add-on). | ||
maven_dependencies | boolean | false |
Flag if global monitoring is turned on. | ||
monitoringcomp | boolean | true |
Flag if sensors are turned on. | ||
sensors | boolean | false |
Optionally provide alternative thread pool implementation. | ||
threadpoolclass | java.lang.String | null |
Optionally provide alternative context service implementation. | ||
contextserviceclass | java.lang.String | null |
Flag if df component and service should be started. | ||
df | boolean | true |
Flag if clock component and service should be started. | ||
clock | boolean | true |
Flag if message component and service should be started. | ||
message | boolean | true |
Flag if simulation component and service should be started. | ||
simul | boolean | true |
Flag if filetransfer component and service should be started. | ||
filetransfer | boolean | true |
Flag if marshal component and service should be started. | ||
marshal | boolean | true |
Flag if security component and service should be started. | ||
security | boolean | true |
Flag if library component and service should be started. | ||
library | boolean | true |
Flag if settings component and service should be started. | ||
settings | boolean | true |
Flag if context component and service should be started. | ||
context | boolean | true |
Flag if address component and service should be started. | ||
address | boolean | true |
Flag if dht storage ring should be provided. | ||
dhtprovide | boolean | false |