|
Public Member Functions |
| Container_Impl (CORBA::ORB_ptr o, PortableServer::POA_ptr p,::Deployment::NodeApplication_ptr server, const Static_Config_EntryPoints_Maps *static_entrypts_maps=0) |
| Constructor.
|
virtual | ~Container_Impl (void) |
| Destructor.
|
virtual CORBA::Long | init (const CORBA::PolicyList *policies ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Initialize the container.
|
Deployment::ComponentInfos * | install (const ::Deployment::ContainerImplementationInfo &container_impl_info ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::UnknownImplId, Deployment::ImplEntryPointNotFound, Deployment::InstallationFailure, Components::InvalidConfiguration) |
| Install all homes and components.
|
virtual void | remove (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Components::RemoveFailure) |
| Remove all homes and components.
|
virtual ::Deployment::Properties * | properties (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Deployment::Container interface defined attributes/operations.
|
virtual ::Deployment::NodeApplication_ptr | get_node_application (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual PortableServer::POA_ptr | _default_POA (void) |
virtual ::Components::CCMHome_ptr | install_home (const ::Deployment::ComponentImplementationInfo &impl_info ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Deployment::UnknownImplId, Deployment::ImplEntryPointNotFound, Deployment::InstallationFailure, Components::InvalidConfiguration) |
virtual void | remove_home (const char *comp_ins_name ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Components::RemoveFailure) |
virtual ::Components::CCMHomes * | get_homes (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
bool | register_with_ns (const char *obj_name, CORBA::ORB_ptr orb, Components::CCMObject_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
bool | unregister_with_ns (const char *obj_name, CORBA::ORB_ptr orb ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
virtual void | remove_components (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Components::RemoveFailure) |
virtual void | remove_component (const char *comp_ins_name ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Components::RemoveFailure) |
void | set_objref (Deployment::Container_ptr o ACE_ENV_ARG_DECL_WITH_DEFAULTS) |
| Set the cached object reference.
|
Deployment::Container_ptr | get_objref (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) |
Protected Types |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, Components::CCMHome_ptr,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex > | CCMHome_Map |
| To store all created CCMHome object.
|
typedef CCMHome_Map::iterator | Home_Iterator |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, Components::CCMObject_var,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex > | CCMComponent_Map |
| To store all created Component object.
|
typedef CCMComponent_Map::iterator | Component_Iterator |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, ACE_CString,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_Null_Mutex > | CCMNaming_Map |
Protected Attributes |
CORBA::ORB_var | orb_ |
| Keep a pointer to the managing ORB serving this servant.
|
PortableServer::POA_var | poa_ |
| Keep a pointer to the managing POA.
|
CIAO::Container * | container_ |
| Internal container implementation.
|
Deployment::Properties | properties_ |
| Cached ConfigValues.
|
Deployment::Container_var | objref_ |
| Cached Container reference (of ourselves.).
|
Deployment::NodeApplication_var | nodeapp_ |
| Cached NodeApplication.
|
CCMHome_Map | home_map_ |
CCMComponent_Map | component_map_ |
CCMNaming_Map | naming_map_ |
const Static_Config_EntryPoints_Maps * | static_entrypts_maps_ |
This class implements the Deployment::Container interface which is not defined by the CCM DnC specification. As the interface implies, this is actually part of the deployment interface and is used to manage the lifecycle of the installed components and homes.