activeObjectMap.Obj record = orb.rootPOA.findObject((org.omg.CORBA.Object) target);
AOM.Obj record = orb.rootPOA.findObject((org.omg.CORBA.Object) target);
  public void unexportObject(Remote target)    throws NoSuchObjectException  {    synchronized (m_Ties)      {        synchronized (m_Targets)          {            TieTargetRecord r = ((TieTargetRecord) m_Targets.get(target));            if (r != null)              {                if (target instanceof org.omg.CORBA.Object)                  r.tie.orb().disconnect((org.omg.CORBA.Object) target);                if (r.unused())                  {                    m_Targets.remove(target);                    m_Ties.remove(r.tie);                    r.tie.deactivate();                    if (r.tie.orb() instanceof ORB_1_4)                      {                        // Standard case, when more deep cleanup is possible.                        // Independing from the POA policies, the object will                        // not be activable transparently.                        ORB_1_4 orb = (ORB_1_4) r.tie.orb();                        if (target instanceof org.omg.CORBA.Object)                          {                            activeObjectMap.Obj record = orb.rootPOA.findObject((org.omg.CORBA.Object) target);                                if (record != null && record.servant == r.tie                              && record.poa instanceof gnuPOA)                              {                                ((gnuPOA) record.poa).aom.remove(record.key);                                record.deactivated = true;                                record.servant = null;                              }                          }                      }                  }              }          }      }  }