org.glassfish.gmbal.impl
Class AMXImpl

java.lang.Object
  extended by org.glassfish.gmbal.impl.AMXImpl
All Implemented Interfaces:
AMXMBeanInterface

public class AMXImpl
extends java.lang.Object
implements AMXMBeanInterface

Author:
ken

Constructor Summary
AMXImpl(MBeanImpl mb)
           
 
Method Summary
 AMXMBeanInterface[] getChildren()
          Containment hierarchy: Get all AMXMBeanInterface contained by this one, in no particular order.
 java.util.Map<java.lang.String,?> getMeta()
          Get all metadata about this MBean.
 java.lang.String getName()
          Usually the same as the ObjectName 'name' property, but can differ if the actual name contains characters that must be escaped for an ObjectName and/or if the MBean has a mutable name attribute.
 AMXMBeanInterface getParent()
          "go up one level": the MBean containing this one, can be null for root
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMXImpl

public AMXImpl(MBeanImpl mb)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: AMXMBeanInterface
Usually the same as the ObjectName 'name' property, but can differ if the actual name contains characters that must be escaped for an ObjectName and/or if the MBean has a mutable name attribute. The type property can be obtained from the ObjectName

Specified by:
getName in interface AMXMBeanInterface

getMeta

public java.util.Map<java.lang.String,?> getMeta()
Description copied from interface: AMXMBeanInterface
Get all metadata about this MBean.

Specified by:
getMeta in interface AMXMBeanInterface
Returns:
The descriptor, which will be a ModelMBeanInfoSupport instance.

getParent

public AMXMBeanInterface getParent()
Description copied from interface: AMXMBeanInterface
"go up one level": the MBean containing this one, can be null for root

Specified by:
getParent in interface AMXMBeanInterface
Returns:
The container of this MBean (null if already at root).

getChildren

public AMXMBeanInterface[] getChildren()
Description copied from interface: AMXMBeanInterface
Containment hierarchy: Get all AMXMBeanInterface contained by this one, in no particular order. Valid only if isContainer(). Note that using an array sidesteps Map/Set/OpenType issues

Specified by:
getChildren in interface AMXMBeanInterface
Returns:
All children of this AMXMBeanInterface MBean.