#include "tao/ORB_Core.h"#include "tao/debug.h"#include "tao/PortableServer/ServantRetentionStrategyRetain.h"#include "tao/PortableServer/Non_Servant_Upcall.h"#include "tao/PortableServer/Servant_Upcall.h"#include "tao/PortableServer/POA_Current_Impl.h"#include "tao/PortableServer/Root_POA.h"#include "tao/PortableServer/Active_Object_Map.h"#include "tao/PortableServer/Active_Object_Map_Entry.h"
Functions | |
| ACE_RCSID (PortableServer, ServantRetentionStrategyRetain,"$Id: ServantRetentionStrategyRetain.cpp 81745 2008-05-20 19:55:26Z parsons $") 1 namespace TAO | |
| ACE_RCSID | ( | PortableServer | , | |
| ServantRetentionStrategyRetain | , | |||
| "$Id: ServantRetentionStrategyRetain.cpp 81745 2008-05-20 19:55:26Z parsons $" | ||||
| ) |
If the POA has both the RETAIN and the UNIQUE_ID policy and the specified servant is active, the Object Id associated with that servant is returned.
If the POA has both the RETAIN and the IMPLICIT_ACTIVATION policy and either the POA has the MULTIPLE_ID policy or the specified servant is not active, the servant is activated using a POA-generated Object Id and the Interface Id associated with the servant, and that Object Id is returned.
1.6.1