org.apache.qpid.server.management
Class JMXManagedObjectRegistry

java.lang.Object
  extended by org.apache.qpid.server.management.JMXManagedObjectRegistry
All Implemented Interfaces:
org.apache.qpid.common.Closeable, ManagedObjectRegistry

public class JMXManagedObjectRegistry
extends Object
implements ManagedObjectRegistry

This class starts up an MBeanserver. If out of the box agent has been enabled then there are no security features implemented like user authentication and authorisation.


Field Summary
static String MANAGEMENT_PORT_CONFIG_PATH
           
static int MANAGEMENT_PORT_DEFAULT
           
static int PORT_EXPORT_OFFSET
           
 
Constructor Summary
JMXManagedObjectRegistry()
           
 
Method Summary
 void close()
           
 void registerObject(ManagedObject managedObject)
           
 void start()
           
 void unregisterObject(ManagedObject managedObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MANAGEMENT_PORT_CONFIG_PATH

public static final String MANAGEMENT_PORT_CONFIG_PATH
See Also:
Constant Field Values

MANAGEMENT_PORT_DEFAULT

public static final int MANAGEMENT_PORT_DEFAULT
See Also:
Constant Field Values

PORT_EXPORT_OFFSET

public static final int PORT_EXPORT_OFFSET
See Also:
Constant Field Values
Constructor Detail

JMXManagedObjectRegistry

public JMXManagedObjectRegistry()
                         throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException
Method Detail

start

public void start()
           throws IOException,
                  ConfigurationException
Specified by:
start in interface ManagedObjectRegistry
Throws:
IOException
ConfigurationException

registerObject

public void registerObject(ManagedObject managedObject)
                    throws JMException
Specified by:
registerObject in interface ManagedObjectRegistry
Throws:
JMException

unregisterObject

public void unregisterObject(ManagedObject managedObject)
                      throws JMException
Specified by:
unregisterObject in interface ManagedObjectRegistry
Throws:
JMException

close

public void close()
Specified by:
close in interface org.apache.qpid.common.Closeable


Licensed to the Apache Software Foundation