org.apache.qpid.server.management
Class NoopManagedObjectRegistry

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

public class NoopManagedObjectRegistry
extends Object
implements ManagedObjectRegistry

This managed object registry does not actually register MBeans. This can be used in tests when management is not required or when management has been disabled.


Constructor Summary
NoopManagedObjectRegistry()
           
 
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
 

Constructor Detail

NoopManagedObjectRegistry

public NoopManagedObjectRegistry()
Method Detail

start

public void start()
Specified by:
start in interface ManagedObjectRegistry

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