[PolyORB-users] Question about PolyORB.Binding_Data.Get_OA

Vadim Godunko vgodunko at rost.ru
Wed Aug 11 13:41:11 CEST 2004


Jerome Hugues wrote:
> 
> When using a PolyORB's POA, the OIDs are built using the Obj_Adapter
> stored in RootPOA as root, see PolyORB.POA_Types for more details.
> 
> So, it is correct to say that OID are 'stored' in RootPOA.  Given an
> OID and a reference on the "RootPOA", you can retrieve the
> corresponding servant.
> 
I have an application assigned OID. If I use application assigned OIDs, 
I require create my own POA. After creating of servant I activate it by 
Activate_Object_With_Id on my POA and make reference by 
Servant_To_Reference.

In this case requesting OID from Root_POA must raise WrongAdapter 
exception (CORBA3 11.3.9.23).


-- 
Vadim Godunko



More information about the PolyORB-users mailing list