#include <Extension_Container.h>
Public Member Functions | |
Extension_Container_i (CORBA::ORB_ptr o, PortableServer::POA_ptr poa) | |
virtual | ~Extension_Container_i (void) |
virtual void | init (const char *name) |
Initialize the container with a name. | |
virtual void | fini (void) |
Cleanup method. | |
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) |
Simply installing a home executor into the component. | |
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) |
Install a new component. | |
virtual void | 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::CCMObject_ptr provider, const char *provider_port,::Components::CCMObject_ptr user, const char *user_port) |
Disconnect a local facet. | |
virtual void | set_attributes (CORBA::Object_ptr compref, const ::Components::ConfigValues &values) |
Set attributes on a component. | |
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 component. | |
virtual void | uninstall_servant (PortableServer::Servant objref, Container_Types::OA_Type type, PortableServer::ObjectId_out oid) |
Uninstall a servant. | |
virtual CORBA::Object_ptr | install_servant (PortableServer::Servant p, Container_Types::OA_Type type, PortableServer::ObjectId_out oid) |
Install a servant for component or home. | |
virtual CORBA::Object_ptr | get_objref (PortableServer::Servant p) |
Get an object reference to a component or home from the servant. | |
void | uninstall (CORBA::Object_ptr objref, Container_Types::OA_Type t) |
Uninstall a servant for component or home. | |
void | uninstall (PortableServer::Servant svt, Container_Types::OA_Type t) |
Uninstall a servant for component or home. | |
CORBA::Object_ptr | generate_reference (const char *obj_id, const char *repo_id, Container_Types::OA_Type t) |
::CIAO::Servant_Activator_ptr | ports_servant_activator (void) |
Components::Cookie * | install_service_reference (const char *service_id, CORBA::Object_ptr objref) |
Inherited from extension context. | |
CORBA::Object_ptr | uninstall_service_reference (Components::Cookie *ck) |
Inherited from extension context. | |
CORBA::Object_ptr | resolve_service_reference (const char *service_id) |
Inherited from extension context. | |
Components::ContainerPortableInterceptor::ClientContainerInterceptorRegistration_ptr | get_client_interceptor_registration (void) |
Components::ContainerPortableInterceptor::ServantContainerInterceptorRegistration_ptr | get_servant_interceptor_registration (void) |
Components::ContainerPortableInterceptor::ServerContainerInterceptorRegistration_ptr | get_server_interceptor_registration (void) |
Components::ContainerPortableInterceptor::StubContainerInterceptorRegistration_ptr | get_stub_interceptor_registration (void) |
Private Types | |
typedef std::map< const char *, std::pair < Components::Cookie *, CORBA::Object_ptr > > | InstalledServices |
Administration of installed CCM services. | |
Private Member Functions | |
Extension_Container_i (void) | |
Not allowed to be. | |
Private Attributes | |
InstalledServices | installed_services_ |
ClientContainerInterceptorRegistration_Impl * | client_copi_registration_ |
ServantContainerInterceptorRegistration_Impl * | servant_copi_registration_ |
ServerContainerInterceptorRegistration_Impl * | server_copi_registration_ |
StubContainerInterceptorRegistration_Impl * | stub_copi_registration_ |
typedef std::map<const char *, std::pair<Components::Cookie *, CORBA::Object_ptr> > CIAO::Extension_Container_i::InstalledServices [private] |
Administration of installed CCM services.
CIAO::Extension_Container_i::Extension_Container_i | ( | CORBA::ORB_ptr | o, |
PortableServer::POA_ptr | poa | ||
) |
CIAO::Extension_Container_i::~Extension_Container_i | ( | void | ) | [virtual] |
CIAO::Extension_Container_i::Extension_Container_i | ( | void | ) | [private] |
Not allowed to be.
void CIAO::Extension_Container_i::activate_component | ( | Components::CCMObject_ptr | compref ) | [virtual] |
Activate component.
void CIAO::Extension_Container_i::connect_local_facet | ( | ::Components::CCMObject_ptr | provider, |
const char * | provider_port, | ||
::Components::CCMObject_ptr | user, | ||
const char * | user_port | ||
) | [virtual] |
Connect a local facet.
void CIAO::Extension_Container_i::disconnect_local_facet | ( | ::Components::CCMObject_ptr | provider, |
const char * | provider_port, | ||
::Components::CCMObject_ptr | user, | ||
const char * | user_port | ||
) | [virtual] |
Disconnect a local facet.
void CIAO::Extension_Container_i::fini | ( | void | ) | [virtual] |
Cleanup method.
Reimplemented from CIAO::Container_i< ::CIAO::Extension_Container >.
CORBA::Object_ptr CIAO::Extension_Container_i::generate_reference | ( | const char * | obj_id, |
const char * | repo_id, | ||
Container_Types::OA_Type | t | ||
) |
Analog of the POA method that creates an object reference from an object id string.
Components::ContainerPortableInterceptor::ClientContainerInterceptorRegistration_ptr CIAO::Extension_Container_i::get_client_interceptor_registration | ( | void | ) |
Getters for the Containter Portable Interceptor registration Objects.
Implements CIAO::Extension_Container.
CORBA::Object_ptr CIAO::Extension_Container_i::get_objref | ( | PortableServer::Servant | p ) | [virtual] |
Get an object reference to a component or home from the servant.
Implements CIAO::Container_i< ::CIAO::Extension_Container >.
Components::ContainerPortableInterceptor::ServantContainerInterceptorRegistration_ptr CIAO::Extension_Container_i::get_servant_interceptor_registration | ( | void | ) |
Getters for the Containter Portable Interceptor registration Objects.
Implements CIAO::Extension_Container.
Components::ContainerPortableInterceptor::ServerContainerInterceptorRegistration_ptr CIAO::Extension_Container_i::get_server_interceptor_registration | ( | void | ) |
Getters for the Containter Portable Interceptor registration Objects.
Implements CIAO::Extension_Container.
Components::ContainerPortableInterceptor::StubContainerInterceptorRegistration_ptr CIAO::Extension_Container_i::get_stub_interceptor_registration | ( | void | ) |
Getters for the Containter Portable Interceptor registration Objects.
Implements CIAO::Extension_Container.
void CIAO::Extension_Container_i::init | ( | const char * | name ) | [virtual] |
Initialize the container with a name.
Reimplemented from CIAO::Container_i< ::CIAO::Extension_Container >.
Components::CCMObject_ptr CIAO::Extension_Container_i::install_component | ( | const char * | primary_artifact, |
const char * | entry_point, | ||
const char * | servant_artifact, | ||
const char * | servant_entrypoint, | ||
const char * | name | ||
) | [virtual] |
Install a new component.
Implements CIAO::Container_i< ::CIAO::Extension_Container >.
Components::CCMHome_ptr CIAO::Extension_Container_i::install_home | ( | const char * | primary_artifact, |
const char * | entry_point, | ||
const char * | servant_artifact, | ||
const char * | servant_entrypoint, | ||
const char * | name | ||
) | [virtual] |
Simply installing a home executor into the component.
This operation install a home executor into the component. It requires the name of the DLLs to executor and the servant glue code, and the entry points to the respective DLLs. Currently, we don't try to manage the lifetime of DLL objects, but we should at some later point.
Home | objref of the installed home. Install a new home |
Implements CIAO::Container_i< ::CIAO::Extension_Container >.
CORBA::Object_ptr CIAO::Extension_Container_i::install_servant | ( | PortableServer::Servant | p, |
Container_Types::OA_Type | type, | ||
PortableServer::ObjectId_out | oid | ||
) | [virtual] |
Install a servant for component or home.
Implements CIAO::Container_i< ::CIAO::Extension_Container >.
Components::Cookie * CIAO::Extension_Container_i::install_service_reference | ( | const char * | service_id, |
CORBA::Object_ptr | objref | ||
) |
Inherited from extension context.
void CIAO::Extension_Container_i::passivate_component | ( | Components::CCMObject_ptr | compref ) | [virtual] |
Passivate a component.
CIAO::Servant_Activator_ptr CIAO::Extension_Container_i::ports_servant_activator | ( | void | ) |
Return the servant activator factory that activates the servants for facets and consumers.
Implements CIAO::Container.
CORBA::Object_ptr CIAO::Extension_Container_i::resolve_service_reference | ( | const char * | service_id ) | [virtual] |
Inherited from extension context.
Reimplemented from CIAO::Container_i< ::CIAO::Extension_Container >.
void CIAO::Extension_Container_i::set_attributes | ( | CORBA::Object_ptr | compref, |
const ::Components::ConfigValues & | values | ||
) | [virtual] |
Set attributes on a component.
void CIAO::Extension_Container_i::uninstall | ( | PortableServer::Servant | svt, |
Container_Types::OA_Type | t | ||
) |
Uninstall a servant for component or home.
void CIAO::Extension_Container_i::uninstall | ( | CORBA::Object_ptr | objref, |
Container_Types::OA_Type | t | ||
) |
Uninstall a servant for component or home.
void CIAO::Extension_Container_i::uninstall_component | ( | Components::CCMObject_ptr | compref ) | [virtual] |
Uninstall a component.
Implements CIAO::Container_i< ::CIAO::Extension_Container >.
void CIAO::Extension_Container_i::uninstall_home | ( | Components::CCMHome_ptr | homeref ) | [virtual] |
Uninstall a servant for component or home.
Implements CIAO::Container_i< ::CIAO::Extension_Container >.
void CIAO::Extension_Container_i::uninstall_servant | ( | PortableServer::Servant | objref, |
Container_Types::OA_Type | type, | ||
PortableServer::ObjectId_out | oid | ||
) | [virtual] |
Uninstall a servant.
Implements CIAO::Container_i< ::CIAO::Extension_Container >.
CORBA::Object_ptr CIAO::Extension_Container_i::uninstall_service_reference | ( | Components::Cookie * | ck ) |
Inherited from extension context.
ClientContainerInterceptorRegistration_Impl* CIAO::Extension_Container_i::client_copi_registration_ [private] |
Caching of the COPI registration objects When a component want to register a Portable Interceptor, it'll need the registration object.
ServantContainerInterceptorRegistration_Impl* CIAO::Extension_Container_i::servant_copi_registration_ [private] |
Caching of the COPI registration objects When a component want to register a Portable Interceptor, it'll need the registration object.
ServerContainerInterceptorRegistration_Impl* CIAO::Extension_Container_i::server_copi_registration_ [private] |
Caching of the COPI registration objects When a component want to register a Portable Interceptor, it'll need the registration object.
StubContainerInterceptorRegistration_Impl* CIAO::Extension_Container_i::stub_copi_registration_ [private] |
Caching of the COPI registration objects When a component want to register a Portable Interceptor, it'll need the registration object.