Class SystemInfoFactory
- java.lang.Object
-
- org.glassfish.admin.amx.impl.mbean.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemInfoImpl
createInstance(MBeanServer server)
Create the singleton instance.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.static void
removeInstance()
-
-
-
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()
-
-