public class VirtualHostMBean extends AMQManagedObject implements ManagedVirtualHost, ConfigurationChangeListener, VirtualHostConnectionListener
TYPE, VERSIONDOMAIN| Constructor and Description |
|---|
VirtualHostMBean(VirtualHost virtualHost,
ManagedObjectRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeSet(ConfiguredObject object,
String attributeName,
Object oldAttributeValue,
Object newAttributeValue) |
void |
bulkChangeEnd(ConfiguredObject<?> object) |
void |
bulkChangeStart(ConfiguredObject<?> object) |
void |
childAdded(ConfiguredObject object,
ConfiguredObject child) |
void |
childRemoved(ConfiguredObject object,
ConfiguredObject child) |
void |
connectionAssociated(Connection<?> connection) |
void |
connectionRemoved(Connection<?> connection) |
String |
getName() |
String |
getObjectInstanceName() |
ManagedObject |
getParentObject() |
Collection<QueueMBean> |
getQueues() |
protected VirtualHost |
getVirtualHost() |
void |
stateChanged(ConfiguredObject object,
State oldState,
State newState) |
void |
unregister() |
addNotificationListener, getBroadcaster, incrementAndGetSequenceNumber, removeNotificationListenergetHierarchicalName, getHierarchicalType, getManagementInterface, getMBeanInfo, getNotificationInfo, getObjectName, getObjectNameForSingleInstanceMBean, getRegistry, getType, register, toStringcacheMBeanInfo, 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, setImplementationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNotificationInfopublic VirtualHostMBean(VirtualHost virtualHost, ManagedObjectRegistry registry) throws JMException
JMExceptionpublic String getObjectInstanceName()
getObjectInstanceName in interface ManagedObjectpublic String getName()
getName in interface ManagedVirtualHostpublic void stateChanged(ConfiguredObject object, State oldState, State newState)
stateChanged in interface ConfigurationChangeListenerpublic void childAdded(ConfiguredObject object, ConfiguredObject child)
childAdded in interface ConfigurationChangeListenerpublic void childRemoved(ConfiguredObject object, ConfiguredObject child)
childRemoved in interface ConfigurationChangeListenerpublic ManagedObject getParentObject()
getParentObject in interface ManagedObjectgetParentObject in class DefaultManagedObjectprotected VirtualHost getVirtualHost()
public Collection<QueueMBean> getQueues()
public void unregister()
throws JMException
unregister in interface ManagedObjectunregister in class DefaultManagedObjectJMExceptionpublic void attributeSet(ConfiguredObject object, String attributeName, Object oldAttributeValue, Object newAttributeValue)
attributeSet in interface ConfigurationChangeListenerpublic void bulkChangeStart(ConfiguredObject<?> object)
bulkChangeStart in interface ConfigurationChangeListenerpublic void bulkChangeEnd(ConfiguredObject<?> object)
bulkChangeEnd in interface ConfigurationChangeListenerpublic void connectionAssociated(Connection<?> connection)
connectionAssociated in interface VirtualHostConnectionListenerpublic void connectionRemoved(Connection<?> connection)
connectionRemoved in interface VirtualHostConnectionListenerCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.