Class MBeanServerDelegate
- java.lang.Object
-
- javax.management.MBeanServerDelegate
- All Implemented Interfaces:
-
MBeanServerDelegateMBean
,NotificationBroadcaster
,NotificationEmitter
public class MBeanServerDelegate extends Object implements MBeanServerDelegateMBean, NotificationEmitter
Represents the MBean server from the management point of view. The MBeanServerDelegate MBean emits the MBeanServerNotifications when an MBean is registered/unregistered in the MBean server.
- Since:
- 1.5
Fields
Modifier and Type | Field | Description |
---|---|---|
static ObjectName | DELEGATE_NAME | Defines the default ObjectName of the MBeanServerDelegate. |
Constructors
Constructor | Description |
---|---|
MBeanServerDelegate() | Create a MBeanServerDelegate object. |
Methods
Modifier and Type | Method | Description |
---|---|---|
String | getImplementationName() | Returns the JMX implementation name (the name of this product). |
String | getImplementationVendor() | Returns the JMX implementation vendor (the vendor of this product). |
String | getImplementationVersion() | Returns the JMX implementation version (the version of this product). |
String | getMBeanServerId() | Returns the MBean server agent identity. |
String | getSpecificationName() | Returns the full name of the JMX specification implemented by this product. |
String | getSpecificationVendor() | Returns the vendor of the JMX specification implemented by this product. |
String | getSpecificationVersion() | Returns the version of the JMX specification implemented by this product. |
void | sendNotification(Notification notification) | Enables the MBean server to send a notification. |
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
Methods declared in interface javax.management.NotificationEmitter
removeNotificationListener
Fields
DELEGATE_NAME
public static final ObjectName DELEGATE_NAME
Defines the default ObjectName of the MBeanServerDelegate.
- Since:
- 1.6
Constructors
MBeanServerDelegate
public MBeanServerDelegate()
Create a MBeanServerDelegate object.
Methods
getMBeanServerId
public String getMBeanServerId()
Returns the MBean server agent identity.
- Specified by:
-
getMBeanServerId
in interfaceMBeanServerDelegateMBean
- Returns:
- the identity.
getSpecificationName
public String getSpecificationName()
Returns the full name of the JMX specification implemented by this product.
- Specified by:
-
getSpecificationName
in interfaceMBeanServerDelegateMBean
- Returns:
- the specification name.
getSpecificationVersion
public String getSpecificationVersion()
Returns the version of the JMX specification implemented by this product.
- Specified by:
-
getSpecificationVersion
in interfaceMBeanServerDelegateMBean
- Returns:
- the specification version.
getSpecificationVendor
public String getSpecificationVendor()
Returns the vendor of the JMX specification implemented by this product.
- Specified by:
-
getSpecificationVendor
in interfaceMBeanServerDelegateMBean
- Returns:
- the specification vendor.
getImplementationName
public String getImplementationName()
Returns the JMX implementation name (the name of this product).
- Specified by:
-
getImplementationName
in interfaceMBeanServerDelegateMBean
- Returns:
- the implementation name.
getImplementationVersion
public String getImplementationVersion()
Returns the JMX implementation version (the version of this product).
- Specified by:
-
getImplementationVersion
in interfaceMBeanServerDelegateMBean
- Returns:
- the implementation version.
getImplementationVendor
public String getImplementationVendor()
Returns the JMX implementation vendor (the vendor of this product).
- Specified by:
-
getImplementationVendor
in interfaceMBeanServerDelegateMBean
- Returns:
- the implementation vendor.
sendNotification
public void sendNotification(Notification notification)
Enables the MBean server to send a notification. If the passed notification has a sequence number lesser or equal to 0, then replace it with the delegate's own sequence number.
- Parameters:
-
notification
- The notification to send.
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.management/javax/management/MBeanServerDelegate.html