Does create_POA activate the child POA.
(Does it same as perform POAManager.activate())
No, it only creates a new POA.Quote:> Hi
> Does create_POA activate the child POA.
> (Does it same as perform POAManager.activate())
Please consider having a look at H&V, Advanced CORBA Programming with C++,
ISBN 0-201-37927-9 or the training doc available at
I want to use the "omniINSPOA" POA but with the Corba policy
SINGLE_THREAD_MODEL. Therefore I tried:
CORBA::Object_var obj = orb->resolve_initial_references("omniINSPOA");
PortableServer::POA_var inspoa = PortableServer::POA::_narrow(obj);
p = inspoa -> create_thread_policy(PortableServer::ORB_CTRL_MODEL);
poa = inspoa -> create_POA("LockDataPOA", inspoa -> the_POAManager(),
This does not work because they generated object keys do not match.
A look into the omniORB 3.0.3 sources shows that unfortunately
omniOrbPOA::create_POA() ( especial omniOrbPOA::omniOrbPOA() )
does not inherit the special key-generation of the parent.
Is this a bug or are there objections against the inheritance ?
Can I get the special "omniINSPOA" behaviour otherwise ?
CORBA 2.3 says that CORBA policies are not inherited
by create_POA() but of course they are setable
which is not the case with the special "omniINSPOA" key-generation .