Note that this version of the AMXMBeanInterface API provides a generic get/set API that is identical to DynamicMBean, except that it only throws unchecked exceptions. This is far more convenient in practice than the JMX-standard checked exceptions.
| Modifier and Type | Field and Description |
|---|---|
| public static final ObjectName | NULL_OBJECTNAME
Special object name used to represent a NULL objectName result. |
| private ObjectName | |
| private MBeanServerConnection |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| private <T> T | |
| public Object | |
| public AttributeList | |
| public AMXClient[] | getChildren()
Implements org. Containment hierarchy: Get all AMXMBeanInterface contained by this one, in no particular order. |
| public MBeanInfo | |
| public Map | getMeta()
Implements org. Get all metadata about this MBean. |
| public String | getName()
Implements org. 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. |
| public AMXClient | getParent()
Implements org. "go up one level": the MBean containing this one, can be null for root |
| public int | |
| public Object | |
| private AMXClient | |
| private AMXClient[] | |
| private static ObjectName | |
| public ObjectName | |
| public void | |
| public void | |
| public AttributeList | |
| public String |
| NULL_OBJECTNAME | back to summary |
|---|---|
| public static final ObjectName NULL_OBJECTNAME Special object name used to represent a NULL objectName result. | |
| oname | back to summary |
|---|---|
| private ObjectName oname | |
| server | back to summary |
|---|---|
| private MBeanServerConnection server | |
| AMXClient | back to summary |
|---|---|
| public AMXClient(MBeanServerConnection server, ObjectName oname) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| fetchAttribute | back to summary |
|---|---|
| private <T> T fetchAttribute(String name, Class<T> type) | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String attribute) | |
| getAttributes | back to summary |
|---|---|
| public AttributeList getAttributes(String[] attributes) | |
| getChildren | back to summary |
|---|---|
| public AMXClient[] getChildren() Implements org. Doc from org. 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 | |
| getMBeanInfo | back to summary |
|---|---|
| public MBeanInfo getMBeanInfo() | |
| getMeta | back to summary |
|---|---|
| public Map Implements org. Doc from org. Get all metadata about this MBean. | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. 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 | |
| getParent | back to summary |
|---|---|
| public AMXClient getParent() Implements org. Doc from org. "go up one level": the MBean containing this one, can be null for root | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| invoke | back to summary |
|---|---|
| public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException | |
| makeAMX | back to summary |
|---|---|
| private AMXClient makeAMX(ObjectName on) | |
| makeAMXArray | back to summary |
|---|---|
| private AMXClient[] makeAMXArray(ObjectName[] onames) | |
| makeObjectName | back to summary |
|---|---|
| private static ObjectName makeObjectName(String str) | |
| objectName | back to summary |
|---|---|
| public ObjectName objectName() | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String name, Object value) | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(Attribute attribute) | |
| setAttributes | back to summary |
|---|---|
| public AttributeList setAttributes(AttributeList attributes) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |