Class: sun.management.HotspotInternal
- public class HotspotInternal
- implements HotspotInternalMBean, MBeanRegistration
Implementation class of HotspotInternalMBean interface.
This is designed for internal customer use to create this MBean dynamically from an agent which will then register all internal MBeans to the platform MBeanServer.
Methods
-
HotspotInternaltop
public HotspotInternal()Default constructor that registers all hotspot internal MBeans to the MBeanServer that creates this MBean. -
postDeregistertop
public void postDeregister()Allows the MBean to perform any operations needed after having been unregistered in the MBean server.- Specified by:
- postDeregister from MBeanRegistration
-
postRegistertop
public void postRegister(Boolean registrationDone)Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed.- Specified by:
- postRegister from MBeanRegistration
-
preDeregistertop
public void preDeregister() throws ExceptionAllows the MBean to perform any operations it needs before being unregistered by the MBean server.- Specified by:
- preDeregister from MBeanRegistration
-
preRegistertop
Allows the MBean to perform any operations it needs before being registered in the MBean server. If the name of the MBean is not specified, the MBean can provide a name for its registration. If any exception is raised, the MBean will not be registered in the MBean server.- Specified by:
- preRegister from MBeanRegistration
Fields
-
server
private MBeanServer server
