#include <Deployment_Configuration.h>
Collaboration diagram for CIAO::Deployment_Configuration:
Public Types | |
typedef CIAO::Deployment_Configuration::_activator_info | Activator_Info |
Public Member Functions | |
Deployment_Configuration (CORBA::ORB_ptr o) | |
virtual | ~Deployment_Configuration (void) |
Destructor. | |
int | init (const char *filename) |
virtual const char * | get_activator_ior (const char *name) |
virtual const char * | get_default_activator_ior () |
virtual Components::Deployment::ServerActivator_ptr | get_activator (const char *name ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
virtual Components::Deployment::ServerActivator_ptr | get_default_activator (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
Protected Attributes | |
CORBA::ORB_var | orb_ |
ACE_Hash_Map_Manager_Ex< ACE_CString, Activator_Info, ACE_Hash< ACE_CString >, ACE_Equal_To< ACE_CString >, ACE_Null_Mutex > | deployment_info_ |
Activator_Info | default_activator_ |
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.
|
|
|
|
|
Destructor.
|
|
|
|
|
|
Return the reference to the default ServerActivator the Assembly mechanism should use to deploy a component.
|
|
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.
|
|
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
|
|
|
|
|
|
|