org.apache.qpid.server.management
Interface ManagedObject

All Known Implementing Classes:
AbstractExchangeMBean, AMQBrokerManagerMBean, AMQManagedObject, AMQProtocolSessionMBean, AMQQueueMBean, AMQUserManagementMBean, ConfigurationManagementMBean, DefaultManagedObject, DirectExchangeMBean, FanoutExchangeMBean, HeadersExchangeMBean, LoggingManagementMBean, ServerInformationMBean, TopicExchangeMBean, VirtualHostImpl.VirtualHostMBean

public interface ManagedObject

This should be implemented by all Managable objects.


Field Summary
static String DOMAIN
           
 
Method Summary
 Class<?> getManagementInterface()
           
 String getObjectInstanceName()
           
 ObjectName getObjectName()
          Returns the ObjectName required for the mbeanserver registration.
 ManagedObject getParentObject()
           
 String getType()
           
 void register()
           
 void unregister()
           
 

Field Detail

DOMAIN

static final String DOMAIN
See Also:
Constant Field Values
Method Detail

getObjectInstanceName

String getObjectInstanceName()
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.

getType

String getType()

getManagementInterface

Class<?> getManagementInterface()

getParentObject

ManagedObject getParentObject()

register

void register()
              throws org.apache.qpid.AMQException,
                     JMException
Throws:
org.apache.qpid.AMQException
JMException

unregister

void unregister()
                throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException

getObjectName

ObjectName getObjectName()
                         throws MalformedObjectNameException
Returns the ObjectName required for the mbeanserver registration.

Returns:
ObjectName
Throws:
MalformedObjectNameException


Licensed to the Apache Software Foundation