#include <Container_Base.h>
Inheritance diagram for CIAO::Container:
Public Types | |
enum | OA_Type { Component, Facet_Consumer } |
Public Member Functions | |
Container (CORBA::ORB_ptr o) | |
virtual | ~Container (void)=0 |
PortableServer::POA_ptr | the_POA (void) const |
Get component's POA. | |
CORBA::ORB_ptr | the_ORB (void) const |
Get a reference to the underlying ORB. | |
virtual int | init (const char *name=0, const CORBA::PolicyList *more_policies=0 ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw (CORBA::SystemException) |
Initialize the container with a name. | |
virtual Components::CCMHome_ptr | ciao_install_home (const char *exe_dll_name, const char *exe_entrypt, const char *sv_dll_name, const char *sv_entrypt, const char *ins_name ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw (CORBA::SystemException, Components::Deployment::UnknownImplId, Components::Deployment::ImplEntryPointNotFound, Components::Deployment::InstallationFailure) |
Install a new home. | |
virtual void | ciao_uninstall_home (Components::CCMHome_ptr homeref ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw (CORBA::SystemException) |
virtual void | uninstall_component (::Components::CCMObject_ptr objref, PortableServer::ObjectId_out oid ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw (CORBA::SystemException) |
PortableServer::POA | the_POA () |
Protected Attributes | |
CORBA::ORB_var | orb_ |
PortableServer::POA_var | component_poa_ |
PortableServer::POA_var | facet_cons_poa_ |
Perhaps we can use local interface to define these interfaces as we will also get reference counting automatically.
|
|
|
|
|
|
|
Install a new home.
Implemented in CIAO::Session_Container. |
|
Implemented in CIAO::Session_Container. |
|
Initialize the container with a name.
Implemented in CIAO::Session_Container. |
|
Get a reference to the underlying ORB.
|
|
|
|
Get component's POA. This operation does *NOT* increase the reference count of the POA. Look at the const qualifier in the method. |
|
Implemented in CIAO::Session_Container. |
|
POA within which all the components in this container will be activated. |
|
Having two POA's allows us to associate different policies that are distinct from the component. |
|
|