public class Starter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADAPTER_FACTORY
The adapter factory classname.
|
static String |
AUTOSHUTDOWN
The autoshutdown flag.
|
static String |
COMPONENT
The component flag (for starting an additional component).
|
static String |
COMPONENT_FACTORY
The component factory classname.
|
static String |
CONFIGURATION_FILE
The configuration file.
|
static String |
CONFIGURATION_NAME
The configuration name.
|
static String |
DEBUGFUTURES
The debug futures flag.
|
static String |
DEBUGSERVICES
The debug futures services.
|
static String |
DEFTIMEOUT
The default timeout.
|
static String |
FALLBACK_COMPONENT_FACTORY
The component factory to be used for platform component.
|
static String |
FALLBACK_PLATFORM_CONFIGURATION
The fallback platform configuration.
|
static String |
MONITORING
The monitoring flag.
|
static String |
NOSTACKCOMPACTION
The stack compaction disable flag.
|
static String |
OPENGL
The opengl disable flag.
|
static String |
PARAMETERCOPY
The parameter copy flag.
|
static String |
PLATFORM_NAME
The platform name.
|
static String |
PROGRAM_ARGUMENTS
The component factory classname.
|
static String |
REALTIMETIMEOUT
The realtime timeout flag.
|
static Set<String> |
RESERVED
The reserved platform parameters.
|
static String |
WELCOME
The welcome flag.
|
Constructor and Description |
---|
Starter() |
Modifier and Type | Method and Description |
---|---|
static IFuture<IExternalAccess> |
createPlatform(String[] args)
Create the platform.
|
static void |
initRescueThread(IComponentIdentifier cid)
Init the rescue thread for a platform..
|
static boolean |
isRescueThread(IComponentIdentifier cid)
Test if the current thread is the rescue thread of the platform.
|
static void |
main(String[] args)
Main for starting the platform (with meaningful fallbacks)
|
static void |
scheduleRescueStep(IComponentIdentifier cid,
Runnable run)
Schedule a rescue step.
|
static void |
shutdownRescueThread(IComponentIdentifier cid)
Shutdown the rescue thread of a platform.
|
public static final String FALLBACK_PLATFORM_CONFIGURATION
public static final String FALLBACK_COMPONENT_FACTORY
public static final String CONFIGURATION_FILE
public static final String CONFIGURATION_NAME
public static final String PLATFORM_NAME
public static final String COMPONENT_FACTORY
public static final String ADAPTER_FACTORY
public static final String AUTOSHUTDOWN
public static final String MONITORING
public static final String WELCOME
public static final String COMPONENT
public static final String PARAMETERCOPY
public static final String DEFTIMEOUT
public static final String REALTIMETIMEOUT
public static final String DEBUGFUTURES
public static final String DEBUGSERVICES
public static final String NOSTACKCOMPACTION
public static final String OPENGL
public static final String PROGRAM_ARGUMENTS
public static void main(String[] args)
args
- The arguments.Exception
public static IFuture<IExternalAccess> createPlatform(String[] args)
args
- The command line arguments.public static void initRescueThread(IComponentIdentifier cid)
public static void scheduleRescueStep(IComponentIdentifier cid, Runnable run)
cid
- The id of a component of the platform.run
- The runnable to execute.public static boolean isRescueThread(IComponentIdentifier cid)
cid
- The id of a component of the platform.public static void shutdownRescueThread(IComponentIdentifier cid)
Copyright © 2013. All Rights Reserved.