Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
CIAO::Deployment_Configuration Class Reference
A class that provides strategies on deployment topology.
More...
#include <Deployment_Configuration.h>
Collaboration diagram for CIAO::Deployment_Configuration:
[legend]List of all members.
Detailed Description
A class that provides strategies on deployment topology.
This class provides strategies on how the Assembly framework should deploy an assembly. This is achieved by providing mappings from deployment destination names to actually CIAO daemon IORs, and the strategy for which default CIAO daemon a deployment mechanism should use.
This is a trivial implementation of the deployment configuration strategy. We can enhance this class later on to provide different deployment location strategies.
Member Typedef Documentation
Constructor & Destructor Documentation
CIAO::Deployment_Configuration::Deployment_Configuration |
( |
CORBA::ORB_ptr |
o |
) |
|
|
CIAO::Deployment_Configuration::~Deployment_Configuration |
( |
void |
|
) |
[virtual] |
|
Member Function Documentation
Components::Deployment::ServerActivator_ptr CIAO::Deployment_Configuration::get_activator |
( |
const char *name |
ACE_ENV_ARG_DECL_WITH_DEFAULTS |
) |
[virtual] |
|
|
- Return values:
-
nil |
if no valid name were found. |
|
const char * CIAO::Deployment_Configuration::get_activator_ior |
( |
const char * |
name |
) |
[virtual] |
|
|
- Return values:
-
0 |
if no valid name were found. When name = 0, then this function behave exactly as get_default_activator_ior. |
|
|
Return the reference to the default ServerActivator the Assembly mechanism should use to deploy a component. - Return values:
-
nil |
if no valid daemon is configured. |
|
const char * CIAO::Deployment_Configuration::get_default_activator_ior |
( |
|
) |
[virtual] |
|
|
Return the default ServerActivator the Assembly mechanism should use to deploy a component. In this implementation, the first entry in the deployment configuration data file is always the entry for default activator. - Return values:
-
0 |
if no valid daemon is configured. |
|
int CIAO::Deployment_Configuration::init |
( |
const char * |
filename |
) |
|
|
|
Init method takes the filename to a configuration file which has a simple line format of name, ior string delimited by a space in each line.
name IOR-string - Return values:
-
0 |
on success. |
-1 |
otherwise. |
|
Member Data Documentation
Activator_Info CIAO::Deployment_Configuration::default_activator_ [protected]
|
|
CORBA::ORB_var CIAO::Deployment_Configuration::orb_ [protected]
|
|
The documentation for this class was generated from the following files:
Generated on Fri Apr 2 19:40:40 2004 for ASSEMBLY_DEPLOYER by
1.2.18