| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static DiagnosticCommandImpl | |
| private static final String[] | |
| private final boolean | |
| private final VMManagement | |
| private MBeanNotificationInfo[] | |
| private static final String | |
| private static final String[] | |
| private static long | |
| private static final String | |
| private static final String | |
| private volatile Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
Overrides sun. Implements javax. Adds a listener to this MBean. |
| private Descriptor | |
| private void | |
| private native String | |
| 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. |
| private native DiagnosticCommandInfo[] | |
| pack-priv static synchronized DiagnosticCommandMBean | |
| private native String[] | |
| public MBeanInfo | getMBeanInfo()
Implements javax. Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object. |
| private static long | |
| public MBeanNotificationInfo[] | getNotificationInfo()
Implements abstract sun. 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 Object | invoke(String actionName, Object[] params, String[] signature)
Implements javax. Allows an action to be invoked on the Dynamic MBean. |
| public synchronized void | removeNotificationListener(NotificationListener listener)
Overrides sun. Implements javax. Removes a listener from this MBean. |
| public synchronized void | removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
Overrides sun. Implements javax. Removes a listener from this MBean. |
| private static final String | |
| 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. |
| private native void | |
| private static String |
| diagCommandMBean | back to summary |
|---|---|
| private static DiagnosticCommandImpl diagCommandMBean | |
| diagFramNotifTypes | back to summary |
|---|---|
| private static final String[] diagFramNotifTypes | |
| isSupported | back to summary |
|---|---|
| private final boolean isSupported | |
| jvm | back to summary |
|---|---|
| private final VMManagement jvm | |
| notifInfo | back to summary |
|---|---|
| private MBeanNotificationInfo[] notifInfo | |
| notifName | back to summary |
|---|---|
| private static final String notifName | |
| publicTypes | back to summary |
|---|---|
| private static final String[] publicTypes | |
| seqNumber | back to summary |
|---|---|
| private static long seqNumber | |
| strArrayClassName | back to summary |
|---|---|
| private static final String strArrayClassName | |
| strClassName | back to summary |
|---|---|
| private static final String strClassName | |
| wrappers | back to summary |
|---|---|
| private volatile Map<String, DiagnosticCommandImpl. | |
| DiagnosticCommandImpl | back to summary |
|---|---|
| pack-priv DiagnosticCommandImpl(VMManagement jvm) | |
| addNotificationListener | back to summary |
|---|---|
| public synchronized void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) Overrides sun. Implements javax. Doc from javax. Adds a listener to this MBean.
| |
| commandDescriptor | back to summary |
|---|---|
| private Descriptor commandDescriptor(DiagnosticCommandImpl. | |
| createDiagnosticFrameworkNotification | back to summary |
|---|---|
| private void createDiagnosticFrameworkNotification() | |
| executeDiagnosticCommand | back to summary |
|---|---|
| private native String executeDiagnosticCommand(String command) | |
| 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.
| |
| getDiagnosticCommandInfo | back to summary |
|---|---|
| private native DiagnosticCommandInfo[] getDiagnosticCommandInfo(String[] commands) | |
| getDiagnosticCommandMBean | back to summary |
|---|---|
| pack-priv static synchronized DiagnosticCommandMBean getDiagnosticCommandMBean() | |
| getDiagnosticCommands | back to summary |
|---|---|
| private native String[] getDiagnosticCommands() | |
| 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.
| |
| getNextSeqNumber | back to summary |
|---|---|
| private static long getNextSeqNumber() | |
| getNotificationInfo | back to summary |
|---|---|
| public MBeanNotificationInfo[] getNotificationInfo() Implements abstract sun. 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.
| |
| 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.
| |
| removeNotificationListener | back to summary |
|---|---|
| public synchronized void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException Overrides sun. Implements javax. Doc from javax. Removes a listener from this MBean. If the listener has been registered with different handback objects or notification filters, all entries corresponding to the listener will be removed.
| |
| removeNotificationListener | back to summary |
|---|---|
| public synchronized void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException Overrides sun. Implements javax. Doc from javax. Removes a listener from this MBean. The MBean must have a
listener that exactly matches the given The
| |
| sanitiseType | back to summary |
|---|---|
| private static final String sanitiseType(String typeName) | |
| 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.
| |
| setNotificationEnabled | back to summary |
|---|---|
| private native void setNotificationEnabled(boolean enabled) | |
| transform | back to summary |
|---|---|
| private static String transform(String name) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(MBeanOperationInfo o1, MBeanOperationInfo o2)
Implements java. Compares its two arguments for order. |
| OperationInfoComparator | back to summary |
|---|---|
| private OperationInfoComparator() | |
| compare | back to summary |
|---|---|
| public int compare(MBeanOperationInfo o1, MBeanOperationInfo o2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv DiagnosticCommandInfo | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| cmd | back to summary |
|---|---|
| pack-priv String cmd | |
| info | back to summary |
|---|---|
| pack-priv DiagnosticCommandInfo info | |
| name | back to summary |
|---|---|
| pack-priv String name | |
| Wrapper | back to summary |
|---|---|
| pack-priv Wrapper(String name, String cmd, DiagnosticCommandInfo info) throws InstantiationException | |
| execute | back to summary |
|---|---|
| public String execute(String[] args) | |