TAO_PortableServer
2.0.8
|
Lifespan strategy. More...
#include <Active_Object_Map.h>
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_Map * | active_object_map_ |
Pointer to the active map. |
Lifespan strategy.
Strategy for implementing points of variation between the TRANSIENT and the PERSISTENT policies.
TAO_Lifespan_Strategy::~TAO_Lifespan_Strategy | ( | void | ) | [virtual] |
Virtual destructor.
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_Persistent_Strategy, and TAO_Transient_Strategy.
void TAO_Lifespan_Strategy::set_active_object_map | ( | TAO_Active_Object_Map * | active_object_map | ) |
Set the active map.
Pointer to the active map.