[omniORB] Deactivating/reactivating servant vs IOR.

Duncan Grisby duncan at grisby.org
Thu Jul 1 18:25:26 BST 2004


On Tuesday 15 June, "Frederic Prin" wrote:

> A simple question:
> 
> - Do a servant IOR change when deactivating then reactivating it ?

It depends on the POA policies.

The RootPOA has the TRANSIENT lifespan policy and SYSTEM_ID id
assignment policy, meaning that each time you activate a servant, it's
a different object.

If that's not what you want, you need to create a POA with the
PERSISTENT policy, and probably USER_ID, and choose your own ids.
Read Henning and Vinoski's book.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list