activeObjectMap.Obj rx = orb.rootPOA.findIorKey(ior.key);
AOM.Obj rx = orb.rootPOA.findIorKey(ior.key);
  public static Servant create(org.omg.CORBA.Object a_ref)  {    try      {        ObjectImpl fto = (ObjectImpl) a_ref;        // Check maybe the remote side forwarded back to our local object.        if (fto instanceof IOR_contructed_object)          {            IOR_contructed_object iref = (IOR_contructed_object) fto;            // Check maybe the IOR is local.            ORB t_orb = iref._orb();            if (t_orb instanceof ORB_1_4)              {                ORB_1_4 orb = (ORB_1_4) t_orb;                Delegate d = iref._get_delegate();                if (d instanceof IOR_Delegate)                  {                    IOR_Delegate ird = (IOR_Delegate) iref._get_delegate();                    IOR ior = ird.getIor();                    if (orb.LOCAL_HOST.equalsIgnoreCase(ior.Internet.host))                      {                        activeObjectMap.Obj rx = orb.rootPOA.findIorKey(ior.key);                        if (rx != null)                          {                            if (rx.object == fto ||                                rx.object._is_equivalent(fto)                               )                              return rx.primary_servant;                            else                              fto = (ObjectImpl) rx.object;                          }                      }                  }              }          }        return new ForwardedServant(fto);      }    catch (ClassCastException ex)      {        throw new BAD_PARAM("ObjectImpl required but " + a_ref + " passed ",                            0x5005, CompletionStatus.COMPLETED_NO                           );      }  }