Class SystemBoot

java.lang.Object
com.gigaspaces.start.SystemBoot

public class SystemBoot extends Object
Provides bootstrapping support for the GigaSpaces Service Grid.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    An RMI Loader Handler cleaner that cleans weak referneces holding exported objects.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Token indicating an Authorization Service should be started
    static final String
    Token indicating a Elastic Service Manager should be started
    static final String
    Token indicating a GraphQL Server should be started
    static final String
    Token indicating a Grid Service Agent should be started
    static final String
    Token indicating a Grid Service Container should be started
    static final String
    Token indicating a Grid Service Monitor should be started
    static final String
    Token indicating a Lookup Handler should be started
    static final String
    Token indicating an MCP Server should be started
    static final String
    Token indicating JMX MBeanServer (and required infrastructure) should not be started
    static final String
    Token indicating a GigaSpace instance should be started
    static final String
    Token indicating a Mahalo TxnManager should be started
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addShutdownHook(Thread shutdownHook)
     
    static void
     
    static String
    Get the JMX Service URL that can be used to connect to the Platform MBeanServer.
    static String
     
    static int
    Get the port number the RMI Registry has been created with
    static void
     
    static boolean
    isGsaOut(File file)
     
    static boolean
     
    static void
    Load the platformJARs and initialize any configured system properties
    static void
    main(String[] args)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SystemBoot

      public SystemBoot()
  • Method Details

    • addShutdownHook

      public static void addShutdownHook(Thread shutdownHook)
    • isRunningWithinGSC

      public static boolean isRunningWithinGSC()
    • iAmTheGSC

      public static void iAmTheGSC()
    • getRegistryPort

      public static int getRegistryPort()
      Get the port number the RMI Registry has been created with
    • getJMXServiceURL

      public static String getJMXServiceURL()
      Get the JMX Service URL that can be used to connect to the Platform MBeanServer. This property may be if the Platform MBeanServer was not be created
    • loadPlatform

      public static void loadPlatform() throws ConfigurationException, IOException
      Load the platformJARs and initialize any configured system properties
      Throws:
      ConfigurationException
      IOException
    • main

      public static void main(String[] args)
    • getProcessRole

      public static String getProcessRole()
    • exitIfHasAgentAndAgentIsNotRunning

      public static void exitIfHasAgentAndAgentIsNotRunning()
    • isGsaOut

      public static boolean isGsaOut(File file)