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
AnAMXLoaderresponsible 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 AMXStartupServiceMBeangetAMXStartupServiceMBeanProxy(MBeanServer mbs)Return a proxy to the AMXStartupService.ObjectNamegetDomainRoot()JMXServiceURL[]getJMXServiceURLs()static MBeanTrackerMBeangetMBeanTracker(MBeanServer server)ObjectNameloadAMXMBeans()Loader a hierarchy of AMX MBeans, returning the ObjectName of the root of the hierarchy.protected ObjectNameloadSystemInfo()voidpostConstruct()voidpreDestroy()voidunloadAMXMBeans()Unload (unregister) AMX MBeans.
-
-
-
Method Detail
-
getMBeanTracker
public static MBeanTrackerMBean getMBeanTracker(MBeanServer server)
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
preDestroy
public void preDestroy()
- Specified by:
preDestroyin interfaceorg.glassfish.hk2.api.PreDestroy
-
getJMXServiceURLs
public JMXServiceURL[] getJMXServiceURLs()
- Specified by:
getJMXServiceURLsin interfaceAMXStartupServiceMBean
-
getAMXStartupServiceMBeanProxy
public static AMXStartupServiceMBean getAMXStartupServiceMBeanProxy(MBeanServer mbs)
Return a proxy to the AMXStartupService.
-
getDomainRoot
public ObjectName getDomainRoot()
- Specified by:
getDomainRootin interfaceAMXStartupServiceMBean
-
loadAMXMBeans
public ObjectName loadAMXMBeans()
Description copied from interface:AMXLoaderLoader a hierarchy of AMX MBeans, returning the ObjectName of the root of the hierarchy.- Specified by:
loadAMXMBeansin interfaceAMXLoader
-
loadSystemInfo
protected final ObjectName loadSystemInfo() throws NotCompliantMBeanException, MBeanRegistrationException, InstanceAlreadyExistsException
-
_loadAMXMBeans
public ObjectName _loadAMXMBeans()
-
unloadAMXMBeans
public void unloadAMXMBeans()
Description copied from interface:AMXLoaderUnload (unregister) AMX MBeans.- Specified by:
unloadAMXMBeansin interfaceAMXLoader
-
-