org.apache.qpid.server.registry
Interface IApplicationRegistry

All Known Implementing Classes:
ApplicationRegistry, ConfigurationFileApplicationRegistry

public interface IApplicationRegistry


Method Summary
 void addAcceptor(InetSocketAddress bindAddress, QpidAcceptor acceptor)
          Register any acceptors for this registry
 void close()
          Shutdown this Registry
 VirtualHost createVirtualHost(VirtualHostConfiguration vhostConfig)
           
 AuthenticationManager getAuthenticationManager()
           
 BrokerConfig getBroker()
           
 UUID getBrokerId()
           
 ConfigStore getConfigStore()
           
 ServerConfiguration getConfiguration()
          Get the low level configuration.
 ConfigurationManager getConfigurationManager()
           
 PrincipalDatabaseManager getDatabaseManager()
           
 ManagedObjectRegistry getManagedObjectRegistry()
           
 PluginManager getPluginManager()
           
 QMFService getQMFService()
           
 RootMessageLogger getRootMessageLogger()
           
 SecurityManager getSecurityManager()
           
 VirtualHostRegistry getVirtualHostRegistry()
           
 void initialise(int instanceID)
          Initialise the application registry.
 void setBroker(BrokerConfig broker)
           
 void setConfigStore(ConfigStore store)
           
 

Method Detail

initialise

void initialise(int instanceID)
                throws Exception
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.

Parameters:
instanceID - the instanceID that we can use to identify this AR.
Throws:
Exception

close

void close()
Shutdown this Registry


getConfiguration

ServerConfiguration getConfiguration()
Get the low level configuration. For use cases where the configured object approach is not required you can get the complete configuration information.

Returns:
a Commons Configuration instance

getManagedObjectRegistry

ManagedObjectRegistry getManagedObjectRegistry()

getDatabaseManager

PrincipalDatabaseManager getDatabaseManager()

getAuthenticationManager

AuthenticationManager getAuthenticationManager()

getVirtualHostRegistry

VirtualHostRegistry getVirtualHostRegistry()

getSecurityManager

SecurityManager getSecurityManager()

getPluginManager

PluginManager getPluginManager()

getConfigurationManager

ConfigurationManager getConfigurationManager()

getRootMessageLogger

RootMessageLogger getRootMessageLogger()

addAcceptor

void addAcceptor(InetSocketAddress bindAddress,
                 QpidAcceptor acceptor)
Register any acceptors for this registry

Parameters:
bindAddress - The address that the acceptor has been bound with
acceptor - The acceptor in use

getBrokerId

UUID getBrokerId()

getQMFService

QMFService getQMFService()

setBroker

void setBroker(BrokerConfig broker)

getBroker

BrokerConfig getBroker()

createVirtualHost

VirtualHost createVirtualHost(VirtualHostConfiguration vhostConfig)
                              throws Exception
Throws:
Exception

getConfigStore

ConfigStore getConfigStore()

setConfigStore

void setConfigStore(ConfigStore store)


Licensed to the Apache Software Foundation