Package org.glassfish.admin.amx.impl
Class AMXStartupService
- java.lang.Object
-
- org.glassfish.admin.amx.impl.AMXStartupService
-
- All Implemented Interfaces:
AMXStartupServiceMBean
,AMXLoader
,org.glassfish.hk2.api.PostConstruct
,org.glassfish.hk2.api.PreDestroy
@Service public final class AMXStartupService extends Object implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, AMXStartupServiceMBean
AnAMXLoader
responsible for loading core AMX MBeans
-
-
Field Summary
-
Fields inherited from interface org.glassfish.api.amx.AMXLoader
LOADER_PREFIX
-
Fields inherited from interface org.glassfish.admin.mbeanserver.AMXStartupServiceMBean
OBJECT_NAME
-
-
Constructor Summary
Constructors Constructor Description AMXStartupService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectName
_loadAMXMBeans()
static AMXStartupServiceMBean
getAMXStartupServiceMBeanProxy(MBeanServer mbs)
Return a proxy to the AMXStartupService.ObjectName
getDomainRoot()
JMXServiceURL[]
getJMXServiceURLs()
static MBeanTrackerMBean
getMBeanTracker(MBeanServer server)
ObjectName
loadAMXMBeans()
Loader a hierarchy of AMX MBeans, returning the ObjectName of the root of the hierarchy.protected ObjectName
loadSystemInfo()
void
postConstruct()
void
preDestroy()
void
unloadAMXMBeans()
Unload (unregister) AMX MBeans.
-
-
-
Method Detail
-
getMBeanTracker
public static MBeanTrackerMBean getMBeanTracker(MBeanServer server)
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
preDestroy
public void preDestroy()
- Specified by:
preDestroy
in interfaceorg.glassfish.hk2.api.PreDestroy
-
getJMXServiceURLs
public JMXServiceURL[] getJMXServiceURLs()
- Specified by:
getJMXServiceURLs
in interfaceAMXStartupServiceMBean
-
getAMXStartupServiceMBeanProxy
public static AMXStartupServiceMBean getAMXStartupServiceMBeanProxy(MBeanServer mbs)
Return a proxy to the AMXStartupService.
-
getDomainRoot
public ObjectName getDomainRoot()
- Specified by:
getDomainRoot
in interfaceAMXStartupServiceMBean
-
loadAMXMBeans
public ObjectName loadAMXMBeans()
Description copied from interface:AMXLoader
Loader a hierarchy of AMX MBeans, returning the ObjectName of the root of the hierarchy.- Specified by:
loadAMXMBeans
in interfaceAMXLoader
-
loadSystemInfo
protected final ObjectName loadSystemInfo() throws NotCompliantMBeanException, MBeanRegistrationException, InstanceAlreadyExistsException
-
_loadAMXMBeans
public ObjectName _loadAMXMBeans()
-
unloadAMXMBeans
public void unloadAMXMBeans()
Description copied from interface:AMXLoader
Unload (unregister) AMX MBeans.- Specified by:
unloadAMXMBeans
in interfaceAMXLoader
-
-