org.apache.qpid.server.util
Class NullApplicationRegistry

java.lang.Object
  extended by org.apache.qpid.server.registry.ApplicationRegistry
      extended by org.apache.qpid.server.util.NullApplicationRegistry
All Implemented Interfaces:
IApplicationRegistry

public class NullApplicationRegistry
extends ApplicationRegistry


Field Summary
 
Fields inherited from class org.apache.qpid.server.registry.ApplicationRegistry
_APPLICATION_REGISTRY, _configuration, DEFAULT_APPLICATION_REGISTRY, DEFAULT_INSTANCE
 
Constructor Summary
NullApplicationRegistry()
           
 
Method Summary
 AuthenticationManager getAuthenticationManager()
           
 org.apache.commons.configuration.Configuration getConfiguration()
          Get the low level configuration.
 ExchangeFactory getExchangeFactory()
           
 ExchangeRegistry getExchangeRegistry()
           
 ManagedObjectRegistry getManagedObjectRegistry()
           
 MessageStore getMessageStore()
           
 QueueRegistry getQueueRegistry()
           
 void initialise()
          Initialise the application registry.
 
Methods inherited from class org.apache.qpid.server.registry.ApplicationRegistry
getConfiguredObject, getInstance, getInstance, initialise, initialise, remove, setDefaultApplicationRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullApplicationRegistry

public NullApplicationRegistry()
Method Detail

initialise

public void initialise()
                throws java.lang.Exception
Description copied from interface: IApplicationRegistry
Initialise the application registry. All initialisation must be done in this method so that any components that need access to the application registry itself for initialisation are able to use it. Attempting to initialise in the constructor will lead to failures since the registry reference will not have been set.

Throws:
java.lang.Exception

getConfiguration

public org.apache.commons.configuration.Configuration getConfiguration()
Description copied from interface: IApplicationRegistry
Get the low level configuration. For use cases where the configured object approach is not required you can get the complete configuration information.

Specified by:
getConfiguration in interface IApplicationRegistry
Overrides:
getConfiguration in class ApplicationRegistry
Returns:
a Commons Configuration instance

getQueueRegistry

public QueueRegistry getQueueRegistry()

getExchangeRegistry

public ExchangeRegistry getExchangeRegistry()

getExchangeFactory

public ExchangeFactory getExchangeFactory()

getManagedObjectRegistry

public ManagedObjectRegistry getManagedObjectRegistry()

getAuthenticationManager

public AuthenticationManager getAuthenticationManager()

getMessageStore

public MessageStore getMessageStore()