fesa-core
7.0.0
|
#include <ControllerFactory.h>
Public Member Functions | |
ControllerFactory (bool multiProcess) | |
virtual std::auto_ptr < cmw::rda3::server::ServerBuilder > | createRDAServerBuilder () const |
virtual cmw::rda3::client::ClientService & | getRDAClientService () |
virtual std::auto_ptr < PropertyBuilder > | createPropertyBuilder () const |
virtual MetricsManager & | getMetricsManager () const |
virtual ParserElementFactory & | getParserElementFactory () const |
virtual NotificationProducer & | getNotificationProducer () const |
virtual ProcessConfigurer & | getProcessConfigurer () const |
virtual ThreadConfigurer & | getThreadConfigurer () const |
virtual XMLParser & | getInstantiationFileXMLParser () const |
virtual NotificationProcessor & | getNotificationProcessor () const |
virtual ExporterFactory & | getExporterFactory () const |
virtual PropertyInfoRegistry & | getPropertyInfoRegistry () const |
Static Public Member Functions | |
static void | setInstance (std::auto_ptr< ControllerFactory > instance) |
static ControllerFactory & | getInstance () |
This factory provides access to controller objects used by the framework. All methods must be virtual (and may be pure as well) in order to allow lab-specific implementations and fake objects (for testing purposes).
Any instance of a controller object needed by the framework should be obtainable by a method of this class.
fesa::ControllerFactory::ControllerFactory | ( | bool | multiProcess | ) |
Constructor.
multiProcess | true if the process is part of a split FESA DU. |
|
virtual |
Creates and returns a PropertyBuilder which can be used to build Properties
|
virtual |
Creates and returns an RDA ServerBuilder which can then be used to create an RDA server.
|
virtual |
Get a reference to the ExporterFactory object
|
static |
FesaException | if no instance has been set |
|
virtual |
Get the instantiation's file XMLParser object
|
virtual |
Returns a reference to the configured MetricsManager object.
|
virtual |
Get a reference to the NotificationProcessor object
|
virtual |
Get a reference to the NotificationProducer object
|
virtual |
Returns a reference to the ParserElementFactory.
|
virtual |
Get a reference to the ProcessConfigurer object
|
virtual |
Get a reference to the PropertyInfoRegistry object
|
virtual |
Returns a reference to an RDA ClientService. Always returns the same instance.
|
virtual |
Get a reference to the ThreadConfigurer object
|
static |
This method must be used at startup to specify the ControllerFactory instance to use. It can be an instance of this class, or of any child class.
instance | the ControllerFactory object to use. |