CIAO  1.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | List of all members
CIAO::Session_Container_i Class Reference

#include <Session_Container.h>

Inheritance diagram for CIAO::Session_Container_i:
Inheritance graph
Collaboration diagram for CIAO::Session_Container_i:
Collaboration graph

Public Member Functions

 Session_Container_i (CORBA::ORB_ptr o, PortableServer::POA_ptr poa)
 
virtual ~Session_Container_i (void)
 
virtual void init (const char *name)
 Initialize the container with a name. More...
 
virtual void fini (void)
 Cleanup method. More...
 
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)
 Simply installing a home executor into the component. More...
 
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)
 Install a new component. More...
 
- Public Member Functions inherited from CIAO::Container_i< ::CIAO::Session_Container >
 Container_i (CORBA::ORB_ptr o, PortableServer::POA_ptr root_poa)
 
virtual ~Container_i (void)
 
virtual PortableServer::POA_ptr the_POA (void)
 Get component's POA. More...
 
virtual PortableServer::POA_ptr the_port_POA (void)
 
virtual void uninstall_home (Components::CCMHome_ptr homeref)
 Uninstall a servant for component or home. More...
 
virtual void set_attributes (CORBA::Object_ptr compref, const ::Components::ConfigValues &values)
 
virtual void activate_component (Components::CCMObject_ptr compref)
 Activate component. More...
 
virtual void passivate_component (Components::CCMObject_ptr compref)
 Passivate a component. More...
 
virtual void uninstall_component (Components::CCMObject_ptr compref)
 Uninstall a given component. More...
 
virtual ::Components::Cookieconnect_local_facet (::Components::CCMObject_ptr provider, const char *provider_port,::Components::CCMObject_ptr user, const char *user_port)
 Connect a local facet. More...
 
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. More...
 
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. More...
 
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. More...
 
virtual CORBA::Object_ptr get_local_facet (::Components::CCMObject_ptr provider_ref, const char *provider_port)
 
virtual void install_service_component_reference (const char *service_id, CORBA::Object_ptr objref)
 
virtual CORBA::Object_ptr uninstall_service_component_reference (const char *service_id)
 
virtual CORBA::Object_ptr resolve_service_reference (const char *service_id)
 
- Public Member Functions inherited from CIAO::Container
Components::CCMHome install_home (in string primary_artifact, in string entry_point, in string servant_artifact, in string servant_entrypoint, in string name, in long open_mode)
 
void uninstall_home (in Components::CCMHome homeptr)
 
Components::CCMObject install_component (in string primary_artifact, in string entry_point, in string servant_artifact, in string servant_entrypoint, in string name, in long open_mode)
 
void set_attributes (in Object name, in Components::ConfigValues values)
 
void activate_component (in Components::CCMObject name)
 
void passivate_component (in Components::CCMObject name)
 
void uninstall_component (in Components::CCMObject compptr)
 
Components::Cookie connect_local_facet (in::Components::CCMObject provider_ref, in string provider_port, in::Components::CCMObject user_ref, in string user_port) raises (::Components::InvalidConnection, ::Components::AlreadyConnected)
 
void disconnect_local_facet (in Components::Cookie cookie, in::Components::CCMObject provider_ref, in string provider_port, in::Components::CCMObject user_ref, in string user_port) raises (::Components::InvalidConnection)
 
Object install_servant (in PortableServer::Servant svnt, in Container_Types::OA_Type type, out PortableServer::ObjectId oid)
 
void uninstall_servant (in PortableServer::Servant compptr, in Container_Types::OA_Type type, out PortableServer::ObjectId oid)
 
Object generate_reference (in string obj_id, in string repo_id, in Container_Types::OA_Type type)
 
Object get_objref (in PortableServer::Servant p)
 
Object get_local_facet (in::Components::CCMObject provider_ref, in string provider_port)
 
void install_service_component_reference (in string service_id, in Object obj)
 
Object uninstall_service_component_reference (in string service_id)
 
Object resolve_service_reference (in string service_id) raises (::Components::CCMException)
 
void init (in string name)
 
- Public Member Functions inherited from CORBA::Object
virtual TAO::ObjectKey_key (void)
 
virtual CORBA::ULong _hash (CORBA::ULong maximum)
 
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
 
virtual CORBA::Boolean _non_existent (void)
 
virtual InterfaceDef_ptr _get_interface (void)
 
virtual CORBA::Object_ptr _get_component (void)
 
virtual char * _repository_id (void)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual CORBA::Request_ptr _request (const char *operation)
 
virtual CORBA::ORB_ptr _get_orb (void)
 

Private Member Functions

 Session_Container_i (void)
 Not allowed to be. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CIAO::Container_i< ::CIAO::Session_Container >
void uninstall (CORBA::Object_ptr objref, Container_Types::OA_Type t)
 Uninstall a servant for component or home. More...
 
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 inherited from CIAO::Container_i< ::CIAO::Session_Container >
CORBA::ORB_var orb_
 Reference to the ORB. More...
 
PortableServer::POA_var root_poa_
 POA used as root. More...
 
PortableServer::POA_var component_poa_
 
PortableServer::POA_var facet_cons_poa_
 

Constructor & Destructor Documentation

CIAO::Session_Container_i::Session_Container_i ( CORBA::ORB_ptr  o,
PortableServer::POA_ptr  poa 
)
CIAO::Session_Container_i::~Session_Container_i ( void  )
virtual
CIAO::Session_Container_i::Session_Container_i ( void  )
private

Not allowed to be.

Member Function Documentation

void CIAO::Session_Container_i::fini ( void  )
virtual

Cleanup method.

Reimplemented from CIAO::Container_i< ::CIAO::Session_Container >.

void CIAO::Session_Container_i::init ( const char *  name)
virtual

Initialize the container with a name.

Reimplemented from CIAO::Container_i< ::CIAO::Session_Container >.

Components::CCMObject_ptr CIAO::Session_Container_i::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 
)
virtual

Install a new component.

Implements CIAO::Container_i< ::CIAO::Session_Container >.

Components::CCMHome_ptr CIAO::Session_Container_i::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 
)
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.

Return values
Homeobjref of the installed home.Install a new home

Implements CIAO::Container_i< ::CIAO::Session_Container >.


The documentation for this class was generated from the following files: