org.apache.aries.jmx.blueprint.impl
Class RegistrableStandardEmitterMBean
java.lang.Object
javax.management.StandardMBean
org.apache.aries.jmx.blueprint.impl.RegistrableStandardEmitterMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, NotificationBroadcaster, NotificationEmitter
public class RegistrableStandardEmitterMBean
- extends StandardMBean
- implements MBeanRegistration, NotificationEmitter
The StandardMBean does not appear to delegate correctly to the underlying MBean implementation. Due to
issues surrounding the MBeanRegistration callback methods and NotificationEmmitter methods,
this subclass was introduced to force the delegation
- Version:
- $Rev$ $Date$
| Methods inherited from class javax.management.StandardMBean |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistrableStandardEmitterMBean
public RegistrableStandardEmitterMBean(T impl,
Class<T> intf)
throws NotCompliantMBeanException
- Throws:
NotCompliantMBeanException
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo in interface DynamicMBean- Overrides:
getMBeanInfo in class StandardMBean
- See Also:
StandardMBean.getMBeanInfo()
postDeregister
public void postDeregister()
- Specified by:
postDeregister in interface MBeanRegistration- Overrides:
postDeregister in class StandardMBean
- See Also:
MBeanRegistration.postDeregister()
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister in interface MBeanRegistration- Overrides:
postRegister in class StandardMBean
- See Also:
MBeanRegistration.postRegister(Boolean)
preDeregister
public void preDeregister()
throws Exception
- Specified by:
preDeregister in interface MBeanRegistration- Overrides:
preDeregister in class StandardMBean
- Throws:
Exception- See Also:
MBeanRegistration.preDeregister()
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
- Specified by:
preRegister in interface MBeanRegistration- Overrides:
preRegister in class StandardMBean
- Throws:
Exception- See Also:
MBeanRegistration.preRegister(javax.management.MBeanServer, javax.management.ObjectName)
removeNotificationListener
public void removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
throws ListenerNotFoundException
- Specified by:
removeNotificationListener in interface NotificationEmitter
- Throws:
ListenerNotFoundException- See Also:
NotificationEmitter.removeNotificationListener(javax.management.NotificationListener,
javax.management.NotificationFilter, Object)
addNotificationListener
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
throws IllegalArgumentException
- Specified by:
addNotificationListener in interface NotificationBroadcaster
- Throws:
IllegalArgumentException- See Also:
NotificationBroadcaster.addNotificationListener(javax.management.NotificationListener,
javax.management.NotificationFilter, Object)
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo in interface NotificationBroadcaster
- See Also:
NotificationBroadcaster.getNotificationInfo()
removeNotificationListener
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
- Specified by:
removeNotificationListener in interface NotificationBroadcaster
- Throws:
ListenerNotFoundException- See Also:
NotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.