| Modifier and Type | Field and Description |
|---|---|
| private static final MBeanNotificationInfo[] | |
| private Map | |
| private FacetAccessor | facetAccessorDelegate
Code for dynamic inheritance support: use invoke with reflection to call dynamically inherited classes. |
| private String | |
| private ObjectName | |
| private MBeanImpl | |
| private String | |
| private boolean | |
| private MBeanServer | |
| private final MBeanSkeleton | |
| private final Set | |
| private boolean | |
| private Object | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public <T> void | addFacet(T obj)
Implements org. Add a facet to the object. |
| public synchronized Map | |
| public synchronized boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public <T> T | facet(Class<T> cls)
Implements org. Access the Facet of Class T from the object. |
| public Collection | facets()
Implements org. Return a list of all facets on this object. |
| public Object | get(Field field)
Implements org. Fetch the value of the field from whichever facet contains the field. |
| public Object | getAttribute(String attribute)
Implements javax. Obtain the value of a specific attribute of the Dynamic MBean. |
| public AttributeList | getAttributes(String[] attributes)
Implements javax. Get the values of several attributes of the Dynamic MBean. |
| public MBeanInfo | getMBeanInfo()
Implements javax. Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object. |
| public MBeanNotificationInfo[] | getNotificationInfo()
Overrides javax. Implements javax. Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. |
| public synchronized String | |
| public synchronized int | |
| public Object | invoke(String actionName, Object[] params, String[] signature)
Implements javax. Allows an action to be invoked on the Dynamic MBean. |
| public Object | invoke(Method method, Object... args)
Implements org. Invoke method on the appropriate facet of this object, that is, on the facet corresponding to method.getDeclaringClass. |
| public synchronized String | |
| public synchronized void | |
| public synchronized ObjectName | |
| public synchronized void | |
| public synchronized MBeanImpl | |
| public synchronized void | |
| public synchronized void | |
| public synchronized void | |
| public void | removeFacet(Class<?> cls)
Implements org. Remove the facet (if any) of the given type. |
| private synchronized String | |
| private void | |
| public void | |
| public void | setAttribute(Attribute attribute)
Implements javax. Set the value of a specific attribute of the Dynamic MBean. |
| public AttributeList | setAttributes(AttributeList attributes)
Implements javax. Sets the values of several attributes of the Dynamic MBean. |
| public MBeanSkeleton | |
| public synchronized boolean | |
| public synchronized void | |
| public Object | |
| public String | |
| public String | |
| public synchronized void |
| ATTRIBUTE_CHANGE_NOTIFICATION_INFO | back to summary |
|---|---|
| private static final MBeanNotificationInfo[] ATTRIBUTE_CHANGE_NOTIFICATION_INFO | |
| children | back to summary |
|---|---|
| private Map<String, Map<String, MBeanImpl>> children | |
| facetAccessorDelegate | back to summary |
|---|---|
| private FacetAccessor facetAccessorDelegate Code for dynamic inheritance support: use invoke with reflection to call dynamically inherited classes. | |
| name | back to summary |
|---|---|
| private String name | |
| oname | back to summary |
|---|---|
| private ObjectName oname | |
| parent | back to summary |
|---|---|
| private MBeanImpl parent | |
| parentPathForObjectName | back to summary |
|---|---|
| private String parentPathForObjectName | |
| registered | back to summary |
|---|---|
| private boolean registered | |
| server | back to summary |
|---|---|
| private MBeanServer server | |
| skel | back to summary |
|---|---|
| private final MBeanSkeleton skel | |
| subTypes | back to summary |
|---|---|
| private final Set<String> subTypes | |
| suspended | back to summary |
|---|---|
| private boolean suspended | |
| target | back to summary |
|---|---|
| private Object target | |
| type | back to summary |
|---|---|
| private final String type | |
| MBeanImpl | back to summary |
|---|---|
| public MBeanImpl(final MBeanSkeleton skel, final Object obj, final MBeanServer server, final String type) | |
| addChild | back to summary |
|---|---|
| public synchronized void addChild(MBeanImpl child) | |
| addFacet | back to summary |
|---|---|
| public <T> void addFacet(T obj) Implements org. Doc from org. Add a facet to the object. The type T must not already be available as a facet. | |
| children | back to summary |
|---|---|
| public synchronized Map | |
| equals | back to summary |
|---|---|
| public synchronized 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.
| |
| facet | back to summary |
|---|---|
| public <T> T facet(Class<T> cls) Implements org. Doc from org. Access the Facet of Class T from the object. | |
| facets | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Return a list of all facets on this object. | |
| get | back to summary |
|---|---|
| public Object get(Field field) Implements org. Doc from org. Fetch the value of the field from whichever facet contains the field. Read-only because that's all that the intended application needs. | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException Implements javax. Doc from javax. Obtain the value of a specific attribute of the Dynamic MBean.
| |
| getAttributes | back to summary |
|---|---|
| public AttributeList getAttributes(String[] attributes) Implements javax. Doc from javax. Get the values of several attributes of the Dynamic MBean. | |
| getMBeanInfo | back to summary |
|---|---|
| public MBeanInfo getMBeanInfo() Implements javax. Doc from javax. Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object. | |
| getNotificationInfo | back to summary |
|---|---|
| public MBeanNotificationInfo[] getNotificationInfo() Overrides javax. Implements javax. Doc from javax. Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. It is not illegal for the MBean to send notifications not described in this array. However, some clients of the MBean server may depend on the array being complete for their correct functioning.
| |
| getParentPathPart | back to summary |
|---|---|
| public synchronized String getParentPathPart(String rootParentPrefix) | |
| hashCode | back to summary |
|---|---|
| public synchronized 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 Implements javax. Doc from javax. Allows an action to be invoked on the Dynamic MBean.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(Method method, Object... args) Implements org. Doc from org. Invoke method on the appropriate facet of this object, that is, on the facet corresponding to method.getDeclaringClass. | |
| name | back to summary |
|---|---|
| public synchronized String name() | |
| name | back to summary |
|---|---|
| public synchronized void name(String str) | |
| objectName | back to summary |
|---|---|
| public synchronized ObjectName objectName() | |
| objectName | back to summary |
|---|---|
| public synchronized void objectName(ObjectName oname) | |
| parent | back to summary |
|---|---|
| public synchronized MBeanImpl parent() | |
| parent | back to summary |
|---|---|
| public synchronized void parent(MBeanImpl entity) | |
| register | back to summary |
|---|---|
| public synchronized void register() throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException | |
| removeChild | back to summary |
|---|---|
| public synchronized void removeChild(MBeanImpl child) | |
| removeFacet | back to summary |
|---|---|
| public void removeFacet(Class<?> cls) Implements org. Doc from org. Remove the facet (if any) of the given type. | |
| restName | back to summary |
|---|---|
| private synchronized String restName() | |
| restNameHelper | back to summary |
|---|---|
| private void restNameHelper(StringBuilder sb) | |
| set | back to summary |
|---|---|
| public void set(Field field, Object value) Implements org. | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException Implements javax. Doc from javax. Set the value of a specific attribute of the Dynamic MBean.
| |
| setAttributes | back to summary |
|---|---|
| public AttributeList setAttributes(AttributeList attributes) Implements javax. Doc from javax. Sets the values of several attributes of the Dynamic MBean. | |
| skeleton | back to summary |
|---|---|
| public MBeanSkeleton skeleton() | |
| suspended | back to summary |
|---|---|
| public synchronized boolean suspended() | |
| suspended | back to summary |
|---|---|
| public synchronized void suspended(boolean flag) | |
| target | back to summary |
|---|---|
| public Object target() | |
| 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-
| |
| type | back to summary |
|---|---|
| public String type() | |
| unregister | back to summary |
|---|---|
| public synchronized void unregister() throws InstanceNotFoundException, MBeanRegistrationException | |