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)
Inform the listener that the changes announced by bulkChangeStart are complete.
|
void |
bulkChangeStart(ConfiguredObject<?> object)
Inform the listener that several attributes of an object are about to change.
|
void |
childAdded(ConfiguredObject object,
ConfiguredObject child) |
void |
childRemoved(ConfiguredObject object,
ConfiguredObject child) |
void |
connectionAssociated(Connection<?> connection) |
void |
connectionRemoved(Connection<?> connection) |
String |
getName()
Returns the name of the managed virtualHost.
|
String |
getObjectInstanceName() |
ManagedObject |
getParentObject() |
Collection<QueueMBean> |
getQueues() |
protected VirtualHost |
getVirtualHost() |
void |
stateChanged(ConfiguredObject object,
State oldState,
State newState)
Inform the listener that the passed object has changed state
|
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()
ManagedVirtualHostgetName in interface ManagedVirtualHostpublic void stateChanged(ConfiguredObject object, State oldState, State newState)
ConfigurationChangeListenerstateChanged in interface ConfigurationChangeListenerobject - the object whose state has changedoldState - the state prior to the changenewState - the state after the changepublic 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)
ConfigurationChangeListenerbulkChangeStart in interface ConfigurationChangeListenerobject - the object whose state is about to changeConfigurationChangeListener.bulkChangeEnd(org.apache.qpid.server.model.ConfiguredObject<?>)public void bulkChangeEnd(ConfiguredObject<?> object)
ConfigurationChangeListenerbulkChangeEnd in interface ConfigurationChangeListenerobject - the object whose state has changedConfigurationChangeListener.bulkChangeStart(org.apache.qpid.server.model.ConfiguredObject<?>)public void connectionAssociated(Connection<?> connection)
connectionAssociated in interface VirtualHostConnectionListenerpublic void connectionRemoved(Connection<?> connection)
connectionRemoved in interface VirtualHostConnectionListenerCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.