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 |
SPACE
Token indicating a GigaSpace instance should be started
|
static String |
TM
Token indicating a Mahalo TxnManager should be started
|
Constructor and Description |
---|
SystemBoot() |
Modifier and Type | Method and Description |
---|---|
static void |
addShutdownHook(Thread shutdownHook) |
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 |
isGsaOut(File file) |
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 SPACE
public static void addShutdownHook(Thread shutdownHook)
public static void removeShutdownHook(Thread shutdownHook)
public static boolean isRunningWithinGSC()
public static void iAmTheGSC()
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()
public static boolean isGsaOut(File file)
Copyright © GigaSpaces.