import "acsdaemon.idl";
Inheritance diagram for acsdaemon::ServiceDefinitionBuilder:
Public Member Functions | |
void | add_naming_service (in string host) raises (ACSErrTypeCommon::BadParameterEx) |
void | add_notification_service (in string name, in string host) raises (ACSErrTypeCommon::BadParameterEx) |
void | add_xml_cdb (in string host, in boolean recovery, in string xml_cdb_dir) raises (ACSErrTypeCommon::BadParameterEx) |
void | add_manager (in string host, in string domain, in boolean recovery) raises (ACSErrTypeCommon::BadParameterEx) |
void | add_acs_log (in string host) raises (ACSErrTypeCommon::BadParameterEx) |
void | add_logging_service (in string host, in string name) raises (ACSErrTypeCommon::BadParameterEx) |
void | add_interface_repository (in string host, in boolean load, in boolean wait_load) raises (ACSErrTypeCommon::BadParameterEx) |
void | add_services_definition (in services_definition_xml definition) raises (ACSErrTypeCommon::BadParameterEx) |
boolean | is_valid (out string error_description) |
services_definition_xml | get_services_definition () |
void | close () |
Public Attributes | |
readonly attribute short | acs_instance_number |
Note that clients must call close when done with an object of this type.
|
Starts an ACSLog service (used by Python components and any corba-aware scripts to contribute log records to central logging).
|
|
Starts an interface repository.
|
|
Starts a logging service.
|
|
Starts a manager.
|
|
Starts a naming service.
|
|
Starts a notification service.
|
|
Allows adding existing definitions, which should be obtained from a previous call to get_services_definition. These definitions will be merged with those from the other add_ method calls. The ACS instance number of the given definition will be ignored, i.e., acs_instance_number remains unchanged. Note that this method can be used to convert a preconfigured services description to a different ACS instance: just create a new ServiceDefinitionBuilder instance with the desired ACS instance, and feed the existing service description.
|
|
Starts a CDB service. About the TMCDB, see ServicesDaemon::start_xml_cdb
|
|
This method must be called when the ServiceDefinitionBuilder instance is no longer used (typically after calling get_services_definition). It allows the factory (services daemon) to release allocated resources. The instance must not be used afterwards. Note that the services daemon imposes a limit of 10 active ServiceDefinitionBuilder instances to protect itself from misbehaving clients, which means that failures to call "close()" will eventually lead to failures in subsequent calls to ServicesDaemon#create_service_definition_builder. |
|
Serializes the current service description to XML, to be used as parameters of ServicesDaemon#start_services and ServicesDaemon#stop_services. To allow the serialization of a partially complete services definition, this method does not check/enforce the validity of the services. See is_valid. The format of this XML is subject to changes between ACS releases, but for any given ACS release, a client can also store this service description and use it directly with the ServicesDaemon, without going through this ServiceDefinitionBuilder again. |
|
Validates the services definition that has been built up. This method can be used for error display by interactive clients, or to log errors when using preconfigured service definitions. Note that get_services_definition() will not enforce a valid service description!
|
|
The ACS instance number as specified in the factory method. |