CIAO::Session_Container Interface Reference

import "Session_Container.idl";

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

List of all members.

Public Member Functions

 Session_Container (CORBA::ORB_ptr o, PortableServer::POA_ptr poa, Deployment::CIAO_Container_i *container_impl, bool static_config_flag=false, const Static_Config_EntryPoints_Maps *static_entrypts_maps=0, const char *name=0, const CORBA::PolicyList *more_policies=0)
virtual ~Session_Container (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)
 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)

Protected Attributes

bool const static_config_flag_
const
Static_Config_EntryPoints_Maps
static_entrypts_maps_
Servant_Activator_var sa_

Static Protected Attributes

static ACE_Atomic_Op
< TAO_SYNCH_MUTEX, unsigned
long > 
serial_number_

Private Member Functions

virtual void init (const char *name=0, const CORBA::PolicyList *more_policies=0)
 Initialize the container with a name.
void create_component_POA (const char *name, const CORBA::PolicyList *p, PortableServer::POA_ptr root)
 Create POA for the component.
void create_facet_consumer_POA (const char *name, const CORBA::PolicyList *p, PortableServer::POA_ptr root)
 Create POA for the facets and consumers alone.
 Session_Container (void)
 Not allowed to be.

Constructor & Destructor Documentation

CIAO::Session_Container::Session_Container ( CORBA::ORB_ptr  o,
PortableServer::POA_ptr  poa,
Deployment::CIAO_Container_i *  container_impl,
bool  static_config_flag = false,
const Static_Config_EntryPoints_Maps static_entrypts_maps = 0,
const char *  name = 0,
const CORBA::PolicyList *  more_policies = 0 
)
CIAO::Session_Container::~Session_Container ( void   )  [virtual]
CIAO::Session_Container::Session_Container ( void   )  [private]

Not allowed to be.


Member Function Documentation

void CIAO::Session_Container::activate_component ( Components::CCMObject_ptr  compref  )  [virtual]

Activate component.

void CIAO::Session_Container::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::Session_Container::create_component_POA ( const char *  name,
const CORBA::PolicyList *  p,
PortableServer::POA_ptr  root 
) [private]

Create POA for the component.

This is the POA that is returned to the component applications if they need one.

void CIAO::Session_Container::create_facet_consumer_POA ( const char *  name,
const CORBA::PolicyList *  p,
PortableServer::POA_ptr  root 
) [private]

Create POA for the facets and consumers alone.

void CIAO::Session_Container::disconnect_local_facet ( ::Components::CCMObject_ptr  provider,
const char *  provider_port,
::Components::CCMObject_ptr  user,
const char *  user_port 
) [virtual]

Disconnect a local facet.

CORBA::Object_ptr CIAO::Session_Container::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.

CORBA::Object_ptr CIAO::Session_Container::get_objref ( PortableServer::Servant  p  )  [inline, virtual]

Get an object reference to a component or home from the servant.

Implements CIAO::Container_i.

void CIAO::Session_Container::init ( const char *  name = 0,
const CORBA::PolicyList *  more_policies = 0 
) [private, virtual]

Initialize the container with a name.

Implements CIAO::Container_i.

Components::CCMObject_ptr CIAO::Session_Container::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.

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

Return values:
Home objref of the installed home. Install a new home

Implements CIAO::Container_i.

CORBA::Object_ptr CIAO::Session_Container::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.

void CIAO::Session_Container::passivate_component ( Components::CCMObject_ptr  compref  )  [virtual]

Passivate a component.

CIAO::Servant_Activator_ptr CIAO::Session_Container::ports_servant_activator ( void   )  [inline]

Return the servant activator factory that activates the servants for facets and consumers.

Implements CIAO::Container.

void CIAO::Session_Container::set_attributes ( CORBA::Object_ptr  compref,
const ::Components::ConfigValues values 
) [virtual]

Set attributes on a component.

void CIAO::Session_Container::uninstall ( PortableServer::Servant  svt,
Container_Types::OA_Type  t 
)

Uninstall a servant for component or home.

void CIAO::Session_Container::uninstall ( CORBA::Object_ptr  objref,
Container_Types::OA_Type  t 
)

Uninstall a servant for component or home.

void CIAO::Session_Container::uninstall_component ( Components::CCMObject_ptr  compref  )  [virtual]

Uninstall a component.

Implements CIAO::Container_i.

void CIAO::Session_Container::uninstall_home ( Components::CCMHome_ptr  homeref  )  [virtual]

Uninstall a servant for component or home.

Implements CIAO::Container_i.

void CIAO::Session_Container::uninstall_servant ( PortableServer::Servant  objref,
Container_Types::OA_Type  type,
PortableServer::ObjectId_out  oid 
) [virtual]

Uninstall a servant.

Implements CIAO::Container_i.


Member Data Documentation

Servant_Activator_var CIAO::Session_Container::sa_ [protected]

The servant activator factory used to activate facets and consumer servants.

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

Static variable to store the highest number we have given out until now


The documentation for this interface was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2