| Modifier and Type | Field and Description |
|---|---|
| private static final MBeanAttributeInfo[] | |
| private static final String[] | |
| private final MBeanInfo |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: The value of the attribute retrieved.The name of the attribute to be retrieved attribute)Implements javax. Obtains the value of a specific attribute of the MBeanServerDelegate. |
| public AttributeList | Returns: The list of attributes retrieved.A list of the attributes to be retrieved. attributes)Implements javax. Makes it possible to get the values of several attributes of the MBeanServerDelegate. |
| public MBeanInfo | Returns: The MBeanInfo describing the MBeanServerDelegate.Implements javax. Provides the MBeanInfo describing the MBeanServerDelegate. |
| public Object | Returns: The object returned by the action, which represents the result of invoking the action on the MBean specified.The name of the action to be invoked. actionName, Object[] An array containing the parameters to be set when the
action is invoked. params, String[] An array containing the signature of the action. signature)Implements javax. Always fails since the MBeanServerDelegate MBean has no operation. |
| public final void | postDeregister()
Implements javax. Allows the MBean to perform any operations needed after having been unregistered in the MBean server. |
| public final void | postRegister(Boolean registrationDone)
Implements javax. Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed. |
| public final void | preDeregister()
Implements javax. Allows the MBean to perform any operations it needs before being unregistered by the MBean server. |
| public final ObjectName | preRegister(MBeanServer server, ObjectName name)
Implements javax. Allows the MBean to perform any operations it needs before being registered in the MBean Server. |
| public void | setAttribute(Attribute
The identification of the attribute to
be set and the value it is to be set to. attribute)Implements javax. This method always fail since all MBeanServerDelegateMBean attributes are read-only. |
| public AttributeList | Returns: The list of attributes that were set, with their new values. In fact, this method always return an empty list since all MBeanServerDelegateMBean attributes are read-only.A list of attributes: The identification of the
attributes to be set and the values they are to be set to. attributes)Implements javax. This method always return an empty list since all MBeanServerDelegateMBean attributes are read-only. |
| attributeInfos | back to summary |
|---|---|
| private static final MBeanAttributeInfo[] attributeInfos | |
| attributeNames | back to summary |
|---|---|
| private static final String[] attributeNames | |
| delegateInfo | back to summary |
|---|---|
| private final MBeanInfo delegateInfo | |
| MBeanServerDelegateImpl | back to summary |
|---|---|
| public MBeanServerDelegateImpl() | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException Implements javax. Obtains the value of a specific attribute of the MBeanServerDelegate.
| |
| getAttributes | back to summary |
|---|---|
| public AttributeList getAttributes(String[] attributes) Implements javax. Makes it possible to get the values of several attributes of the MBeanServerDelegate.
| |
| getMBeanInfo | back to summary |
|---|---|
| public MBeanInfo getMBeanInfo() Implements javax. Provides the MBeanInfo describing the MBeanServerDelegate.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException Implements javax. Always fails since the MBeanServerDelegate MBean has no operation.
| |
| postDeregister | back to summary |
|---|---|
| public final void postDeregister() Implements javax. Doc from javax. Allows the MBean to perform any operations needed after having been unregistered in the MBean server. If the implementation of this method throws a This might be confusing for the code calling
| |
| postRegister | back to summary |
|---|---|
| public final void postRegister(Boolean registrationDone) Implements javax. Doc from javax. Allows the MBean to perform any operations needed after having been registered in the MBean server or after the registration has failed. If the implementation of this method throws a This might be confusing for the code calling | |
| preDeregister | back to summary |
|---|---|
| public final void preDeregister() throws Exception Implements javax. Doc from javax. Allows the MBean to perform any operations it needs before being unregistered by the MBean server.
| |
| preRegister | back to summary |
|---|---|
| public final ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception Implements javax. Doc from javax. Allows the MBean to perform any operations it needs before being registered in the MBean Server. If the name of the MBean is not specified, the MBean can provide a name for its registration. If any exception is raised, the MBean will not be registered in the MBean Server.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException Implements javax. This method always fail since all MBeanServerDelegateMBean attributes are read-only.
| |
| setAttributes | back to summary |
|---|---|
| public AttributeList setAttributes(AttributeList attributes) Implements javax. This method always return an empty list since all MBeanServerDelegateMBean attributes are read-only.
| |