org.apache.qpid.server.virtualhost
Class VirtualHostImpl.VirtualHostMBean

java.lang.Object
  extended by javax.management.StandardMBean
      extended by org.apache.qpid.server.management.DefaultManagedObject
          extended by org.apache.qpid.server.management.AMQManagedObject
              extended by org.apache.qpid.server.virtualhost.VirtualHostImpl.VirtualHostMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, ManagedObject, ManagedVirtualHost
Enclosing class:
VirtualHostImpl

public class VirtualHostImpl.VirtualHostMBean
extends AMQManagedObject
implements ManagedVirtualHost

Virtual host JMX MBean class. This has some of the methods implemented from management intrerface for exchanges. Any implementaion of an Exchange MBean should extend this class.


Field Summary
 
Fields inherited from class org.apache.qpid.server.management.AMQManagedObject
_broadcaster, _logActor, _mbeanInfo, _notificationSequenceNumber
 
Fields inherited from interface org.apache.qpid.server.virtualhost.ManagedVirtualHost
TYPE, VERSION
 
Fields inherited from interface org.apache.qpid.server.management.ManagedObject
DOMAIN
 
Constructor Summary
VirtualHostImpl.VirtualHostMBean()
           
 
Method Summary
 String getName()
          Returns the name of the managed virtualHost.
 String getObjectInstanceName()
           
 VirtualHostImpl getVirtualHost()
           
 
Methods inherited from class org.apache.qpid.server.management.AMQManagedObject
addNotificationListener, getMBeanInfo, getNotificationInfo, removeNotificationListener
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualHostImpl.VirtualHostMBean

public VirtualHostImpl.VirtualHostMBean()
                                 throws NotCompliantMBeanException
Throws:
NotCompliantMBeanException
Method Detail

getObjectInstanceName

public String getObjectInstanceName()
Specified by:
getObjectInstanceName in interface ManagedObject
Returns:
the name that uniquely identifies this object instance. It must be unique only among objects of this type at this level in the hierarchy so the uniqueness should not be too difficult to ensure.

getName

public String getName()
Description copied from interface: ManagedVirtualHost
Returns the name of the managed virtualHost.

Specified by:
getName in interface ManagedVirtualHost
Returns:
the name of the exchange.

getVirtualHost

public VirtualHostImpl getVirtualHost()


Licensed to the Apache Software Foundation