Class AMXImpl

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

public class AMXImpl extends Object implements AMXMBeanInterface
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public 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 Map<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.
    • getContained

      private List<AMXMBeanInterface> getContained(Set<String> types)
    • getContained

      private AMXMBeanInterface[] getContained(String type)