Class SystemInfoFactory


  • public final class SystemInfoFactory
    extends Object
    Factory to create the org.glassfish.admin.amx.base.SystemInfo implementation. For now, only one implementation instance is allowed.
    • Method Detail

      • getInstance

        public static SystemInfoImpl getInstance()
        Return the actual implementation class, because some method(s) are needed internal to the server, but not appropriate for the MBean clients.
        Returns:
        the SystemInfoImpl, *or null if not yet initialized*
      • createInstance

        public static SystemInfoImpl createInstance​(MBeanServer server)
        Create the singleton instance. Intended for exclusive use by the appropriate code to initialize once at startup.
      • removeInstance

        public static void removeInstance()