Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CIAO::Session_Container Class Reference

#include <Container_Base.h>

Inheritance diagram for CIAO::Session_Container:

Inheritance graph
[legend]
Collaboration diagram for CIAO::Session_Container:

Collaboration graph
[legend]
List of all members.

Public Methods

 Session_Container (CORBA::ORB_ptr o, int static_config_flag=0, const Static_Config_EntryPoints_Maps *static_entrypts_maps=0)
virtual ~Session_Container (void)
virtual int init (const char *name=0, const CORBA::PolicyList *more_policies=0 ACE_ENV_ARG_DECL_WITH_DEFAULTS) 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 ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, Components::Deployment::UnknownImplId, Components::Deployment::ImplEntryPointNotFound, Components::Deployment::InstallationFailure)
 Simply installing a home executor into the component.

virtual void ciao_uninstall_home (Components::CCMHome_ptr homeref ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
CORBA::Object_ptr install_servant (PortableServer::Servant p ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
CORBA::Object_ptr install_component (PortableServer::Servant p, PortableServer::ObjectId_out oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
CORBA::Object_ptr get_objref (PortableServer::Servant p ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
void uninstall (CORBA::Object_ptr objref ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
void uninstall (PortableServer::Servant svt ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
void uninstall_component (CORBA::Object_ptr objref, PortableServer::ObjectId_out oid ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)

Protected Attributes

long number_
int static_config_flag_
const Static_Config_EntryPoints_Mapsstatic_entrypts_maps_

Static Protected Attributes

ACE_Atomic_Op< ACE_SYNCH_MUTEX,
long > 
serial_number_

Constructor & Destructor Documentation

CIAO::Session_Container::Session_Container CORBA::ORB_ptr    o,
int    static_config_flag = 0,
const Static_Config_EntryPoints_Maps   static_entrypts_maps = 0
 

CIAO::Session_Container::~Session_Container void    [virtual]
 


Member Function Documentation

Components::CCMHome_ptr CIAO::Session_Container::ciao_install_home const char *    exe_dll_name,
const char *    exe_entrypt,
const char *    sv_dll_name,
const char *sv_entrypt    ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, Components::Deployment::UnknownImplId, Components::Deployment::ImplEntryPointNotFound, Components::Deployment::InstallationFailure) [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:
Home  objref of the installed home.

Implements CIAO::Container.

void CIAO::Session_Container::ciao_uninstall_home Components::CCMHome_ptr homeref    ACE_ENV_ARG_DECL_WITH_DEFAULTS throw (CORBA::SystemException) [virtual]
 

Implements CIAO::Container.

ACE_INLINE CORBA::Object_ptr CIAO::Session_Container::get_objref PortableServer::Servant p    ACE_ENV_ARG_DECL_WITH_DEFAULTS throw (CORBA::SystemException)
 

virtual int CIAO::Session_Container::init const char *    name = 0,
const CORBA::PolicyList *    more_policies = 0 ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException) [virtual]
 

Initialize the container with a name.

Implements CIAO::Container.

CORBA::Object_ptr CIAO::Session_Container::install_component PortableServer::Servant    p,
PortableServer::ObjectId_out oid    ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException)
 

CORBA::Object_ptr CIAO::Session_Container::install_servant PortableServer::Servant p    ACE_ENV_ARG_DECL_WITH_DEFAULTS throw (CORBA::SystemException)
 

void CIAO::Session_Container::uninstall PortableServer::Servant svt    ACE_ENV_ARG_DECL_WITH_DEFAULTS throw (CORBA::SystemException)
 

void CIAO::Session_Container::uninstall CORBA::Object_ptr objref    ACE_ENV_ARG_DECL_WITH_DEFAULTS throw (CORBA::SystemException)
 

void CIAO::Session_Container::uninstall_component CORBA::Object_ptr    objref,
PortableServer::ObjectId_out oid    ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException)
 


Member Data Documentation

long CIAO::Session_Container::number_ [protected]
 

ACE_Atomic_Op< ACE_SYNCH_MUTEX, long > CIAO::Session_Container::serial_number_ [static, protected]
 

int CIAO::Session_Container::static_config_flag_ [protected]
 

const Static_Config_EntryPoints_Maps* CIAO::Session_Container::static_entrypts_maps_ [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Apr 2 19:46:37 2004 for CIAO by doxygen1.2.18