|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttest.compliance.server.support.Test4
| Constructor Summary | |
Test4()
|
|
| Method Summary | |
void |
postDeregister()
This method is called by the MBeanServer after deregistration takes place. |
void |
postRegister(java.lang.Boolean b)
This method is called by the MBeanServer after registration takes place or when registration fails. |
void |
preDeregister()
This method is called by the MBeanServer before deregistration takes place. |
ObjectName (src) |
preRegister(MBeanServer (src) server,
ObjectName (src) name)
This method is called by the MBeanServer before registration takes place. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Test4()
| Method Detail |
public ObjectName (src) preRegister(MBeanServer (src) server,
ObjectName (src) name)
throws java.lang.Exception
MBeanRegistration (src) The MBean can stop the registration by throwing an exception.The exception is forwarded to the invoker wrapped in an MBeanRegistrationException.
preRegister in interface MBeanRegistration (src) java.lang.Exception - for any error, the MBean is not registered.public void postRegister(java.lang.Boolean b)
MBeanRegistration (src)
postRegister in interface MBeanRegistration (src) b - the MBeanServer passes true when the
MBean was registered, false otherwise.
public void preDeregister()
throws java.lang.Exception
MBeanRegistration (src) The MBean can throw an exception, this will stop the deregistration. The exception is forwarded to the invoker wrapped in an MBeanRegistrationException.
preDeregister in interface MBeanRegistration (src) java.lang.Exceptionpublic void postDeregister()
MBeanRegistration (src)
postDeregister in interface MBeanRegistration (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||