|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface can optionally be implemented by an MBean in order to carry out operations before and after being registered or de-registered from the MBeanServer.
Method Summary | |
void |
postDeregister()
Allows the MBean to perform any operations needed after having been de-registered in the MBeanServer. |
void |
postRegister(java.lang.Boolean registrationDone)
Allows the MBean to perform any operations needed after having been registered in the MBeanServer or after the registration has failed. |
void |
preDeregister()
Allows the MBean to perform any operations it needs before being de-registered by the MBeanServer. |
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
Allows the MBean to perform any operations it needs before being registered in the MBeanServer. |
Method Detail |
public ObjectName preRegister(MBeanServer server, ObjectName name) throws java.lang.Exception
server
- The MBeanServer in which the MBean will be registered.name
- The object name of the MBean.public void postRegister(java.lang.Boolean registrationDone)
registrationDone
- Indicates whether or not the MBean has been successfully registered in
the MBeanServer. The value false means that either the registration phase
has failed.public void preDeregister() throws java.lang.Exception
public void postDeregister()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |