|
TPTP 4.4.0 Monitoring Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface that is used to register MBeans. It is important that the MBean server is set before the registerMBean are called.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
The name key used for the ObjectName. |
static java.lang.String |
TOPIC
The topic key used for the ObjectName. |
static java.lang.String |
TYPE
The type key used for the ObjectName. |
| Method Summary | |
|---|---|
java.lang.String |
getTopic()
Returns the mbean topic name. |
javax.management.ObjectName |
registerMBean(java.lang.Object object)
Registers the given Object with JMX server supplied by the user. |
void |
registerMBean(java.lang.Object object,
javax.management.ObjectName objectName)
Registers the given Object with JMX server supplied by the user. |
void |
setServer(javax.management.MBeanServer server)
The MBeanServer instance to register Mbeans. |
| Field Detail |
public static final java.lang.String NAME
ObjectName.
public static final java.lang.String TYPE
ObjectName.
public static final java.lang.String TOPIC
ObjectName.
| Method Detail |
public javax.management.ObjectName registerMBean(java.lang.Object object)
throws MBeanCreateException
Object with JMX server supplied by the user.
object - the object to register with the Mbean server
MBeanCreateException - unable to create the Mbean
public void registerMBean(java.lang.Object object,
javax.management.ObjectName objectName)
throws MBeanCreateException
Object with JMX server supplied by the user.
object - the object to register with the Mbean serverobjectName - the JMX ObjectName
MBeanCreateException - unable to create the Mbeanpublic void setServer(javax.management.MBeanServer server)
MBeanServer instance to register Mbeans.
server - The MBeanServer instance.public java.lang.String getTopic()
|
TPTP 4.4.0 Monitoring Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||