#include <Swapping_Container.h>
Public Member Functions | |
Swapping_Container (CORBA::ORB_ptr o, Container_Impl *container_impl) | |
virtual | ~Swapping_Container (void) |
virtual int | init (const char *name=0, const CORBA::PolicyList *more_policies=0) |
Initialize the container with a name. | |
virtual CORBA::Object_ptr | install_servant (PortableServer::Servant p, Container::OA_Type t) |
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. | |
virtual void | ciao_uninstall_home (Components::CCMHome_ptr homeref) |
Uninstall a servant for component or home. | |
virtual CORBA::Object_ptr | get_home_objref (PortableServer::Servant p) |
virtual void | add_servant_to_map (PortableServer::ObjectId &oid, Dynamic_Component_Servant_Base *servant) |
virtual void | delete_servant_from_map (PortableServer::ObjectId &oid) |
virtual void | deactivate_facet (const PortableServer::ObjectId &oid) |
PortableServer::POA_ptr | the_home_servant_POA (void) const |
Protected Attributes | |
unsigned long | number_ |
Dynamic_Component_Activator * | dsa_ |
Static Protected Attributes | |
static ACE_Atomic_Op < TAO_SYNCH_MUTEX, unsigned long > | serial_number_ |
Private Member Functions | |
void | create_servant_POA (const char *name, const CORBA::PolicyList *p, PortableServer::POA_ptr root) |
Create POA for the component. | |
void | create_home_servant_POA (const char *name, const CORBA::PolicyList *p, PortableServer::POA_ptr root) |
void | create_connections_POA (PortableServer::POA_ptr root) |
CIAO::Swapping_Container::Swapping_Container | ( | CORBA::ORB_ptr | o, | |
Container_Impl * | container_impl | |||
) |
CIAO::Swapping_Container::~Swapping_Container | ( | void | ) | [virtual] |
int CIAO::Swapping_Container::init | ( | const char * | name = 0 , |
|
const CORBA::PolicyList * | more_policies = 0 | |||
) | [virtual] |
CORBA::Object_ptr CIAO::Swapping_Container::install_servant | ( | PortableServer::Servant | p, | |
Container::OA_Type | t | |||
) | [virtual] |
ACE_INLINE CORBA::Object_ptr CIAO::Swapping_Container::get_objref | ( | PortableServer::Servant | p | ) | [virtual] |
Get an object reference to a component or home from the servant.
Reimplemented from CIAO::Session_Container.
void CIAO::Swapping_Container::ciao_uninstall_home | ( | Components::CCMHome_ptr | homeref | ) | [virtual] |
CORBA::Object_ptr CIAO::Swapping_Container::get_home_objref | ( | PortableServer::Servant | p | ) | [virtual] |
Reimplemented from CIAO::Session_Container.
void CIAO::Swapping_Container::add_servant_to_map | ( | PortableServer::ObjectId & | oid, | |
Dynamic_Component_Servant_Base * | servant | |||
) | [virtual] |
Reimplemented from CIAO::Session_Container.
void CIAO::Swapping_Container::delete_servant_from_map | ( | PortableServer::ObjectId & | oid | ) | [virtual] |
Reimplemented from CIAO::Session_Container.
void CIAO::Swapping_Container::deactivate_facet | ( | const PortableServer::ObjectId & | oid | ) | [virtual] |
Reimplemented from CIAO::Session_Container.
PortableServer::POA_ptr CIAO::Swapping_Container::the_home_servant_POA | ( | void | ) | const |
void CIAO::Swapping_Container::create_servant_POA | ( | const char * | name, | |
const CORBA::PolicyList * | p, | |||
PortableServer::POA_ptr | root | |||
) | [private] |
Create POA for the component.
void CIAO::Swapping_Container::create_home_servant_POA | ( | const char * | name, | |
const CORBA::PolicyList * | p, | |||
PortableServer::POA_ptr | root | |||
) | [private] |
void CIAO::Swapping_Container::create_connections_POA | ( | PortableServer::POA_ptr | root | ) | [private] |
unsigned long CIAO::Swapping_Container::number_ [protected] |
Reimplemented from CIAO::Session_Container.
ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > CIAO::Swapping_Container::serial_number_ [static, protected] |
Static variable to store the highest number we have given out until now
Reimplemented from CIAO::Session_Container.