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
-
Field Summary
Fields Modifier and Type Field Description static ObjectNameDELEGATE_NAMEDefines the default ObjectName of the MBeanServerDelegate. -
Constructor Summary
Constructors Constructor Description MBeanServerDelegate()Create a MBeanServerDelegate object. -
Method Summary
Modifier and Type Method Description StringgetImplementationName()Returns the JMX implementation name (the name of this product).StringgetImplementationVendor()Returns the JMX implementation vendor (the vendor of this product).StringgetImplementationVersion()Returns the JMX implementation version (the version of this product).StringgetMBeanServerId()Returns the MBean server agent identity.StringgetSpecificationName()Returns the full name of the JMX specification implemented by this product.StringgetSpecificationVendor()Returns the vendor of the JMX specification implemented by this product.StringgetSpecificationVersion()Returns the version of the JMX specification implemented by this product.voidsendNotification(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, waitMethods declared in interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
-
Field Details
-
DELEGATE_NAME
Defines the default ObjectName of the MBeanServerDelegate.- Since:
- 1.6
-
-
Constructor Details
-
MBeanServerDelegate
public MBeanServerDelegate()Create a MBeanServerDelegate object.
-
-
Method Details
-
getMBeanServerId
Returns the MBean server agent identity.- Specified by:
getMBeanServerIdin interfaceMBeanServerDelegateMBean- Returns:
- the identity.
-
getSpecificationName
Returns the full name of the JMX specification implemented by this product.- Specified by:
getSpecificationNamein interfaceMBeanServerDelegateMBean- Returns:
- the specification name.
-
getSpecificationVersion
Returns the version of the JMX specification implemented by this product.- Specified by:
getSpecificationVersionin interfaceMBeanServerDelegateMBean- Returns:
- the specification version.
-
getSpecificationVendor
Returns the vendor of the JMX specification implemented by this product.- Specified by:
getSpecificationVendorin interfaceMBeanServerDelegateMBean- Returns:
- the specification vendor.
-
getImplementationName
Returns the JMX implementation name (the name of this product).- Specified by:
getImplementationNamein interfaceMBeanServerDelegateMBean- Returns:
- the implementation name.
-
getImplementationVersion
Returns the JMX implementation version (the version of this product).- Specified by:
getImplementationVersionin interfaceMBeanServerDelegateMBean- Returns:
- the implementation version.
-
getImplementationVendor
Returns the JMX implementation vendor (the vendor of this product).- Specified by:
getImplementationVendorin interfaceMBeanServerDelegateMBean- Returns:
- the implementation vendor.
-
sendNotification
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.
-