CIAO  1.2.3
 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)
 

Private Member Functions

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

Additional Inherited Members

- Public Types inherited from CORBA::LocalObject
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 
- Static Public Member Functions inherited from CORBA::LocalObject
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
 
static void _tao_any_destructor (void *)
 
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
 
static void tao_object_initialize (Object *)
 
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil (void)
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
- 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: