This class is not part of the public API.

Class: sun.management.HotspotInternal

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.

Inheritance

Superclass tree: Implements:

Methods

  • HotspotInternaltop

    public HotspotInternal()
    Default constructor that registers all hotspot internal MBeans to the MBeanServer that creates this MBean.
    Google Code Search
    Stack Overflow
  • 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
    Google Code Search
    Stack Overflow
  • 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.
    Parameters:
    @param registrationDone Indicates whether or not the MBean has been successfully registered in the MBean server. The value false means that the registration phase has failed.
    Specified by:
    postRegister from MBeanRegistration
    Google Code Search
    Stack Overflow
  • preDeregistertop

    public void preDeregister() throws Exception
    Allows the MBean to perform any operations it needs before being unregistered by the MBean server.
    Exceptions:
    @exception Exception This exception will be caught by the MBean server and re-thrown as an javax.management.MBeanRegistrationException .
    Specified by:
    preDeregister from MBeanRegistration
    Google Code Search
    Stack Overflow
  • preRegistertop

    public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
    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.
    Parameters:
    @param server The MBean server in which the MBean will be registered.
    @param name The object name of the MBean. This name is null if the name parameter to one of the createMBean or registerMBean methods in the javax.management.MBeanServer interface is null. In that case, this method must return a non-null ObjectName for the new MBean.
    Return:
    @return The name under which the MBean is to be registered. This value must not be null. If the name parameter is not null, it will usually but not necessarily be the returned value.
    Exceptions:
    @exception Exception This exception will be caught by the MBean server and re-thrown as an javax.management.MBeanRegistrationException .
    Specified by:
    preRegister from MBeanRegistration
    Google Code Search
    Stack Overflow

Fields