Public Member Functions |
| Container_i (CORBA::ORB_ptr o, PortableServer::POA_ptr root_poa) |
virtual | ~Container_i (void) |
virtual void | init (const char *name) |
| Initialize the container with a name.
|
virtual void | fini (void) |
| Cleanup method.
|
virtual PortableServer::POA_ptr | the_POA (void) |
| Get component's POA.
|
virtual PortableServer::POA_ptr | the_port_POA (void) |
virtual Components::CCMHome_ptr | install_home (const char *primary_artifact, const char *entry_point, const char *servant_artifact, const char *servant_entrypoint, const char *name, CORBA::Long open_mode)=0 |
| Install a new home.
|
virtual void | uninstall_home (Components::CCMHome_ptr homeref) |
| Uninstall a servant for component or home.
|
virtual Components::CCMObject_ptr | install_component (const char *primary_artifact, const char *entry_point, const char *servant_artifact, const char *servant_entrypoint, const char *name, CORBA::Long open_mode)=0 |
virtual void | set_attributes (CORBA::Object_ptr compref, const ::Components::ConfigValues &values) |
virtual void | activate_component (Components::CCMObject_ptr compref) |
| Activate component.
|
virtual void | passivate_component (Components::CCMObject_ptr compref) |
| Passivate a component.
|
virtual void | uninstall_component (Components::CCMObject_ptr compref) |
| Uninstall a given component.
|
virtual ::Components::Cookie * | connect_local_facet (::Components::CCMObject_ptr provider, const char *provider_port,::Components::CCMObject_ptr user, const char *user_port) |
| Connect a local facet.
|
virtual void | disconnect_local_facet (::Components::Cookie *cookie,::Components::CCMObject_ptr provider, const char *provider_port,::Components::CCMObject_ptr user, const char *user_port) |
| Disconnect a local facet.
|
virtual CORBA::Object_ptr | install_servant (PortableServer::Servant objref, Container_Types::OA_Type type, PortableServer::ObjectId_out oid) |
virtual void | uninstall_servant (PortableServer::Servant objref, Container_Types::OA_Type type, PortableServer::ObjectId_out oid) |
| Uninstall a servant for component.
|
virtual CORBA::Object_ptr | get_objref (PortableServer::Servant p) |
virtual CORBA::Object_ptr | generate_reference (const char *obj_id, const char *repo_id, Container_Types::OA_Type t) |
CORBA::ORB_ptr | the_ORB (void) const |
| Get a reference to the underlying ORB.
|
virtual CORBA::Object_ptr | resolve_service_reference (const char *service_id) |
Protected Member Functions |
void | uninstall (CORBA::Object_ptr objref, Container_Types::OA_Type t) |
| Uninstall a servant for component or home.
|
void | prepare_installation (const char *entity, const char *primary_artifact, const char *entry_point, const char *servant_artifact, const char *servant_entrypoint, const char *name, int open_mode, ACE_DLL &executor_dll, ACE_DLL &servant_dll) |
Protected Attributes |
CORBA::ORB_var | orb_ |
| Reference to the ORB.
|
PortableServer::POA_var | root_poa_ |
| POA used as root.
|
PortableServer::POA_var | component_poa_ |
PortableServer::POA_var | facet_cons_poa_ |
Private Member Functions |
| Container_i (void) |
| Not allowed to be used.
|
void | create_component_POA (const char *name, PortableServer::POA_ptr root) |
| Create POA for the component.
|
void | create_facet_consumer_POA (const char *name, PortableServer::POA_ptr root) |
| Create POA for the facets and consumers alone.
|
template<typename BASE>
class CIAO::Container_i< BASE >
Common container interface definition.
Perhaps we can use local interface to define these interfaces as we will also get reference counting automatically.