/** * <code>servant_to_reference</code> <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this); } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces(this, oid)[0]; return create_reference_with_id(oid, repId); } finally { unlock(); } }
/** * <code>servant_to_reference</code> <b>3.3.8.20</b> */ public org.omg.CORBA.Object servant_to_reference(Servant servant) throws ServantNotActive, WrongPolicy { try { lock(); if (debug) { ORBUtility.dprint(this, "Calling servant_to_reference(servant=" + servant + ") on poa " + this); } byte[] oid = mediator.servantToId(servant); String repId = servant._all_interfaces(this, oid)[0]; return create_reference_with_id(oid, repId); } finally { unlock(); } }