|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface MBeanRegistry
To avoid confusion with the existing MBeanRegistration interface from javax.management this interface is now called MBeanRegistry (although there are too many negative associations with the word "registry").
| Method Summary | |
|---|---|
String |
getMBeanName()
Returns the MBean name under which this class was registered. |
ObjectName |
getObjectName()
Returns the MBean name under which this class was registered. |
boolean |
isRegisteredAsMBean()
Was the object registered as MBean? |
void |
registerAsMBean()
Registers the MBean as "a.b.c:type=Xxx" (where "a.b.c" is the package name and "Xxx" the classname). |
void |
registerAsMBean(ObjectName name)
Register the MBean with the given object name. |
void |
registerAsMBean(String name)
Register the MBean with the given name. |
void |
unregisterAsMBean()
Unregisters the MBean from the MBean server. |
| Method Detail |
|---|
void registerAsMBean()
throws JMException
JMException - the JMX exception
void registerAsMBean(String name)
throws JMException
name - e.g. "a.b.c:type=Xxx"
JMException - the JMX exception
void registerAsMBean(ObjectName name)
throws JMException
name - e.g. new ObjectName("a.b.c:type=Xxx");
JMException - the JMX exceptionvoid unregisterAsMBean()
boolean isRegisteredAsMBean()
String getMBeanName()
ObjectName getObjectName()
throws MalformedObjectNameException
MalformedObjectNameException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||