org.apache.qpid.server.management
Class AMQManagedObject
java.lang.Object
javax.management.StandardMBean
org.apache.qpid.server.management.DefaultManagedObject
org.apache.qpid.server.management.AMQManagedObject
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, NotificationBroadcaster, ManagedObject
- Direct Known Subclasses:
- AbstractExchangeMBean, AMQBrokerManagerMBean, AMQProtocolSessionMBean, AMQQueueMBean, AMQUserManagementMBean, ConfigurationManagementMBean, LoggingManagementMBean, ServerInformationMBean, VirtualHostImpl.VirtualHostMBean
public abstract class AMQManagedObject
- extends DefaultManagedObject
- implements NotificationBroadcaster
This class provides additinal feature of Notification Broadcaster to the
DefaultManagedObject.
- Version:
- 0.1
Methods inherited from class org.apache.qpid.server.management.DefaultManagedObject |
getHierarchicalName, getHierarchicalType, getManagedObjectRegistry, getManagementInterface, getObjectName, getObjectNameForSingleInstanceMBean, getParentObject, getType, jmxEncode, register, toString, unregister |
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, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
_broadcaster
protected NotificationBroadcasterSupport _broadcaster
- broadcaster support class
_notificationSequenceNumber
protected long _notificationSequenceNumber
- sequence number for notifications
_mbeanInfo
protected MBeanInfo _mbeanInfo
_logActor
protected LogActor _logActor
AMQManagedObject
protected AMQManagedObject(Class<?> managementInterface,
String typeName)
throws NotCompliantMBeanException
- Throws:
NotCompliantMBeanException
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface DynamicMBean
- Overrides:
getMBeanInfo
in class StandardMBean
addNotificationListener
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
- Specified by:
addNotificationListener
in interface NotificationBroadcaster
removeNotificationListener
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface NotificationBroadcaster
- Throws:
ListenerNotFoundException
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface NotificationBroadcaster
Licensed to the Apache Software Foundation