org.apache.qpid.server.registry
Class ConfigurationFileApplicationRegistry

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

public class ConfigurationFileApplicationRegistry
extends ApplicationRegistry


Field Summary
 
Fields inherited from class org.apache.qpid.server.registry.ApplicationRegistry
_APPLICATION_REGISTRY, _configuration, DEFAULT_APPLICATION_REGISTRY, DEFAULT_INSTANCE
 
Constructor Summary
ConfigurationFileApplicationRegistry(java.io.File configurationURL)
           
 
Method Summary
 AuthenticationManager getAuthenticationManager()
           
 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
getConfiguration, 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

ConfigurationFileApplicationRegistry

public ConfigurationFileApplicationRegistry(java.io.File configurationURL)
                                     throws org.apache.commons.configuration.ConfigurationException
Throws:
org.apache.commons.configuration.ConfigurationException
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

getQueueRegistry

public QueueRegistry getQueueRegistry()

getExchangeRegistry

public ExchangeRegistry getExchangeRegistry()

getExchangeFactory

public ExchangeFactory getExchangeFactory()

getManagedObjectRegistry

public ManagedObjectRegistry getManagedObjectRegistry()

getAuthenticationManager

public AuthenticationManager getAuthenticationManager()

getMessageStore

public MessageStore getMessageStore()