org.apache.qpid.server.management
Class NoopManagedObjectRegistry
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopManagedObjectRegistry
public NoopManagedObjectRegistry()
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