|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.test.jmx.compliance.server.support.BuilderTest
Simple MBean for builder tests
Field Summary | |
javax.management.MBeanServer |
server
|
Constructor Summary | |
BuilderTest()
|
Method Summary | |
void |
postDeregister()
This method is called by the MBeanServer after deregistration takes place. |
void |
postRegister(Boolean registered)
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. |
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName 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 |
Field Detail |
public javax.management.MBeanServer server
Constructor Detail |
public BuilderTest()
Method Detail |
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name)
javax.management.MBeanRegistration
The MBean can stop the registration by throwing an exception.The exception is forwarded to the invoker wrapped in an MBeanRegistrationException.
preRegister
in interface javax.management.MBeanRegistration
public void postRegister(Boolean registered)
javax.management.MBeanRegistration
postRegister
in interface javax.management.MBeanRegistration
registered
- the MBeanServer passes true when the
MBean was registered, false otherwise.public void preDeregister()
javax.management.MBeanRegistration
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 javax.management.MBeanRegistration
public void postDeregister()
javax.management.MBeanRegistration
postDeregister
in interface javax.management.MBeanRegistration
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |