Package org.glassfish.gmbal.impl
Class AMXImpl
java.lang.Object
org.glassfish.gmbal.impl.AMXImpl
- All Implemented Interfaces:
AMXMBeanInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.glassfish.pfl.basic.func.UnaryFunction
<MBeanImpl, AMXMBeanInterface> private MBeanImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContainment hierarchy: Get all AMXMBeanInterface contained by this one, in no particular order.private AMXMBeanInterface[]
getContained
(String type) private List
<AMXMBeanInterface> getContained
(Set<String> types) getMeta()
Get all metadata about this MBean.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."go up one level": the MBean containing this one, can be null for root
-
Field Details
-
mbean
-
extract
-
-
Constructor Details
-
AMXImpl
-
-
Method Details
-
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 interfaceAMXMBeanInterface
-
getMeta
Description copied from interface:AMXMBeanInterface
Get all metadata about this MBean.- Specified by:
getMeta
in interfaceAMXMBeanInterface
- Returns:
- The descriptor, which will be a ModelMBeanInfoSupport instance.
-
getParent
Description copied from interface:AMXMBeanInterface
"go up one level": the MBean containing this one, can be null for root- Specified by:
getParent
in interfaceAMXMBeanInterface
- Returns:
- The container of this MBean (null if already at root).
-
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 interfaceAMXMBeanInterface
- Returns:
- All children of this AMXMBeanInterface MBean.
-
getContained
-
getContained
-