Interface: javax.management.MBeanRegistration
- public interface MBeanRegistration
Can be implemented by an MBean in order to
carry out operations before and after being registered or unregistered from
the MBean server.
Methods
-
postDeregistertop
public void postDeregister()Allows the MBean to perform any operations needed after having been unregistered in the MBean server. -
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. -
preDeregistertop
public void preDeregister() throws ExceptionAllows the MBean to perform any operations it needs before being unregistered by the MBean server. -
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.
