TAO_Lifespan_Strategy Class Reference

Lifespan strategy. More...

#include <Active_Object_Map.h>

Inheritance diagram for TAO_Lifespan_Strategy:

Inheritance graph
[legend]
Collaboration diagram for TAO_Lifespan_Strategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~TAO_Lifespan_Strategy (void)
 Virtual destructor.
virtual int find_servant_using_system_id_and_user_id (const PortableServer::ObjectId &system_id, const PortableServer::ObjectId &user_id, PortableServer::Servant &servant, TAO_Active_Object_Map_Entry *&entry)=0
 Can be used with any policy.
void set_active_object_map (TAO_Active_Object_Map *active_object_map)
 Set the active map.

Protected Attributes

TAO_Active_Object_Mapactive_object_map_
 Pointer to the active map.

Detailed Description

Lifespan strategy.

Strategy for implementing points of variation between the TRANSIENT and the PERSISTENT policies.

Definition at line 437 of file Active_Object_Map.h.


Constructor & Destructor Documentation

TAO_Lifespan_Strategy::~TAO_Lifespan_Strategy ( void   )  [virtual]

Virtual destructor.

Definition at line 731 of file Active_Object_Map.cpp.

00732 {
00733 }


Member Function Documentation

virtual int TAO_Lifespan_Strategy::find_servant_using_system_id_and_user_id ( const PortableServer::ObjectId system_id,
const PortableServer::ObjectId user_id,
PortableServer::Servant servant,
TAO_Active_Object_Map_Entry *&  entry 
) [pure virtual]

Can be used with any policy.

Implemented in TAO_Transient_Strategy, and TAO_Persistent_Strategy.

void TAO_Lifespan_Strategy::set_active_object_map ( TAO_Active_Object_Map active_object_map  ) 

Set the active map.

Definition at line 736 of file Active_Object_Map.cpp.

References active_object_map_.

Referenced by TAO_Active_Object_Map::TAO_Active_Object_Map().

00738 {
00739   this->active_object_map_ = active_object_map;
00740 }


Member Data Documentation

TAO_Active_Object_Map* TAO_Lifespan_Strategy::active_object_map_ [protected]

Pointer to the active map.

Definition at line 459 of file Active_Object_Map.h.

Referenced by TAO_Persistent_Strategy::find_servant_using_system_id_and_user_id(), TAO_Transient_Strategy::find_servant_using_system_id_and_user_id(), and set_active_object_map().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:41:29 2010 for TAO_PortableServer by  doxygen 1.4.7