|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.jmx.MBeanContext
public class MBeanContext
The context containing mbeans registered at a particular level.
Nested Class Summary | |
---|---|
class |
MBeanContext.MBeanClose
|
Method Summary | |
---|---|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
copyProperties()
Sets the properties. |
void |
destroy()
Closes the context server. |
java.lang.ClassLoader |
getClassLoader()
Returns the class loader. |
javax.management.loading.ClassLoaderRepository |
getClassLoaderRepository()
Returns the ClassLoaderRepository. |
int |
getMBeanCount()
Returns the number of MBeans registered. |
javax.management.ObjectInstance |
getObjectInstance(javax.management.ObjectName name)
Returns the MBean registered with the given name. |
javax.management.ObjectName |
getObjectName(java.lang.String name)
Returns the object name. |
protected MBeanView |
getParentView()
Returns the parent view. |
boolean |
isRegistered(javax.management.ObjectName name)
Returns true if the given object is registered with the server. |
void |
removeNotificationListener(javax.management.ObjectName mbean,
javax.management.NotificationListener listener)
Removes a listener to a registered MBean |
void |
removeNotificationListener(javax.management.ObjectName mbean,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
Removes a listener to a registered MBean |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> props)
Sets the properties. |
java.lang.String |
toString()
Display name. |
void |
unregisterMBean(javax.management.ObjectName name)
Unregisters an MBean from the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
protected MBeanView getParentView()
public javax.management.loading.ClassLoaderRepository getClassLoaderRepository()
public java.lang.ClassLoader getClassLoader()
public void setProperties(java.util.Map<java.lang.String,java.lang.String> props)
public java.util.LinkedHashMap<java.lang.String,java.lang.String> copyProperties()
public javax.management.ObjectName getObjectName(java.lang.String name) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
public void unregisterMBean(javax.management.ObjectName name) throws javax.management.InstanceNotFoundException, javax.management.MBeanRegistrationException
name
- the name of the mbean.
javax.management.InstanceNotFoundException
javax.management.MBeanRegistrationException
public javax.management.ObjectInstance getObjectInstance(javax.management.ObjectName name) throws javax.management.InstanceNotFoundException
name
- the name of the mbean.
javax.management.InstanceNotFoundException
public boolean isRegistered(javax.management.ObjectName name)
name
- the name of the mbean to test.
public int getMBeanCount()
public void removeNotificationListener(javax.management.ObjectName mbean, javax.management.NotificationListener listener)
mbean
- the name of the mbeanlistener
- the listener objectpublic void removeNotificationListener(javax.management.ObjectName mbean, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
mbean
- the name of the mbeanlistener
- the listener objectfilter
- filters events the listener is interested inhandback
- context to be returned to the listenerpublic void destroy()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |