public class SystemBoot extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SystemBoot.RmiLoaderHandlerCleaner
An RMI Loader Handler cleaner that cleans weak referneces holding exported objects.
|
Modifier and Type | Field and Description |
---|---|
static String |
ESM
Token indicating a Elastic Service Manager should be started
|
static String |
GSA
Token indicating a Grid Service Agent should be started
|
static String |
GSC
Token indicating a Grid Service Container should be started
|
static String |
GSM
Token indicating a Grid Service Monitor should be started
|
static String |
LH
Token indicating a Lookup Handler should be started
|
static String |
NO_JMX
Token indicating JMX MBeanServer (and required infrastructure) should not be started
|
static String |
REST |
static String |
SPACE
Token indicating a GigaSpace instance should be started
|
static String |
TM
Token indicating a Mahalo TxnManager should be started
|
static String |
ZK |
Constructor and Description |
---|
SystemBoot() |
Modifier and Type | Method and Description |
---|---|
static void |
addShutdownHook(Thread shutdownHook) |
static void |
ensureSecurityManager()
Utility routine that sets a security manager (if one isn't already present) and the security
policy
|
static void |
exitIfHasAgentAndAgentIsNotRunning() |
static String |
getJMXServiceURL()
Get the JMX Service URL that can be used to connect to the Platform MBeanServer.
|
static String |
getProcessRole() |
static int |
getRegistryPort()
Get the port number the RMI Registry has been created with
|
static void |
iAmTheGSC() |
static boolean |
isRunningWithinGSC() |
static void |
loadPlatform()
Load the platformJARs and initialize any configured system properties
|
static void |
main(String[] args) |
static void |
removeShutdownHook(Thread shutdownHook) |
public static final String LH
public static final String TM
public static final String NO_JMX
public static final String GSC
public static final String GSA
public static final String GSM
public static final String ESM
public static final String REST
public static final String ZK
public static final String SPACE
public static void addShutdownHook(Thread shutdownHook)
public static void removeShutdownHook(Thread shutdownHook)
public static boolean isRunningWithinGSC()
public static void iAmTheGSC()
public static void ensureSecurityManager()
public static int getRegistryPort()
public static String getJMXServiceURL()
public static void loadPlatform() throws ConfigurationException, IOException
ConfigurationException
IOException
public static void main(String[] args)
public static String getProcessRole()
public static void exitIfHasAgentAndAgentIsNotRunning()
Copyright © GigaSpaces.