org.ehcache.jsr107
Class Eh107MBeanServerBuilder.Eh107MBeanServerDelegate
java.lang.Object
javax.management.MBeanServerDelegate
org.ehcache.jsr107.Eh107MBeanServerBuilder.Eh107MBeanServerDelegate
- All Implemented Interfaces:
- javax.management.MBeanServerDelegateMBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
- Enclosing class:
- Eh107MBeanServerBuilder
public static class Eh107MBeanServerBuilder.Eh107MBeanServerDelegate
- extends javax.management.MBeanServerDelegate
A decorator around the MBeanServerDelegate which sets the mBeanServerId to the value of the
org.jsr107.tck.management.agentId
system property so that the TCK can precisely identify the correct
MBeanServer when running tests.
Fields inherited from class javax.management.MBeanServerDelegate |
DELEGATE_NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Eh107MBeanServerBuilder.Eh107MBeanServerDelegate
public Eh107MBeanServerBuilder.Eh107MBeanServerDelegate(javax.management.MBeanServerDelegate delegate)
- Constructor
- Parameters:
delegate
- the provided delegate
getSpecificationName
public java.lang.String getSpecificationName()
- Specified by:
getSpecificationName
in interface javax.management.MBeanServerDelegateMBean
- Overrides:
getSpecificationName
in class javax.management.MBeanServerDelegate
getSpecificationVersion
public java.lang.String getSpecificationVersion()
- Specified by:
getSpecificationVersion
in interface javax.management.MBeanServerDelegateMBean
- Overrides:
getSpecificationVersion
in class javax.management.MBeanServerDelegate
getSpecificationVendor
public java.lang.String getSpecificationVendor()
- Specified by:
getSpecificationVendor
in interface javax.management.MBeanServerDelegateMBean
- Overrides:
getSpecificationVendor
in class javax.management.MBeanServerDelegate
getImplementationName
public java.lang.String getImplementationName()
- Specified by:
getImplementationName
in interface javax.management.MBeanServerDelegateMBean
- Overrides:
getImplementationName
in class javax.management.MBeanServerDelegate
getImplementationVersion
public java.lang.String getImplementationVersion()
- Specified by:
getImplementationVersion
in interface javax.management.MBeanServerDelegateMBean
- Overrides:
getImplementationVersion
in class javax.management.MBeanServerDelegate
getImplementationVendor
public java.lang.String getImplementationVendor()
- Specified by:
getImplementationVendor
in interface javax.management.MBeanServerDelegateMBean
- Overrides:
getImplementationVendor
in class javax.management.MBeanServerDelegate
getNotificationInfo
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface javax.management.NotificationBroadcaster
- Overrides:
getNotificationInfo
in class javax.management.MBeanServerDelegate
addNotificationListener
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
- Specified by:
addNotificationListener
in interface javax.management.NotificationBroadcaster
- Overrides:
addNotificationListener
in class javax.management.MBeanServerDelegate
- Throws:
java.lang.IllegalArgumentException
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationEmitter
- Overrides:
removeNotificationListener
in class javax.management.MBeanServerDelegate
- Throws:
javax.management.ListenerNotFoundException
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationBroadcaster
- Overrides:
removeNotificationListener
in class javax.management.MBeanServerDelegate
- Throws:
javax.management.ListenerNotFoundException
sendNotification
public void sendNotification(javax.management.Notification notification)
- Overrides:
sendNotification
in class javax.management.MBeanServerDelegate
getMBeanServerId
public java.lang.String getMBeanServerId()
- Specified by:
getMBeanServerId
in interface javax.management.MBeanServerDelegateMBean
- Overrides:
getMBeanServerId
in class javax.management.MBeanServerDelegate