com.genesyslab.omsdk.mil
Class MILBootstrapper
java.lang.Object
com.genesyslab.omsdk.mil.MILBootstrapper
- public class MILBootstrapper
- extends java.lang.Object
Represents a simple MIL server application that connects, and exits when the runmode
changes to MILLCARunMode.EXIT.
This class initializes the OMSDK common library and the MIL library.
It implements a MILLCAListener that manages MILLCAEvent events
with the MILLCARunMode.EXIT runmode.
It releases both the MILFactory and the OMSDKConnector, then exits the JVM.
- Since:
- 7.1.008.00
|
Method Summary |
static void |
main(java.lang.String[] args)
Starts the bootstrapper. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MILBootstrapper
public MILBootstrapper()
main
public static void main(java.lang.String[] args)
- Starts the bootstrapper.
- Parameters:
args - expected arguments
-host "configuration server host"
-port "configuration server port"
-app "application name"
Non-mandatory params for the OMSDKConnector initialization:
-backupHost "backup configuration server host name"
-backupPort "backup configuration server port"
-reconnectionPeriod "period between two reconnection attempts in milliseconds"
-reconnectionAttempts "number of reconnection attempts"
Non-mandatory params for MIL initialization:
-ext comma-separated list of preloaded extensions. Extension names are Fully Qualified Names.