572573574575576577578579580581582
{ POA poa = (POA) transientPoaMap.remove(name); if (poa != null) { poa.the_POAManager().deactivate(false, /* etherealize_objects */ true /* wait_for_completion */ ); poa.destroy(false, /* etherealize_objects */ false /* wait_for_completion */ ); } } }
623624625626627628629630631632633
{ POA poa = (POA) persistentPoaMap.remove(name); if (poa != null) { poa.the_POAManager().deactivate(false, /* etherealize_objects */ true /* wait_for_completion */ ); poa.destroy(false, /* etherealize_objects */ false /* wait_for_completion */ ); } } }
185186187188189190191192193194195
impl.blockUntilCalled(); // // Test: Destroy the POA while a method call is active // poa.destroy(true, true); // // The destroy call shouldn't return until the aMethod call is // complete //
220221222223224225226227228229230
public void unbind(final String name) throws Exception { final POA poa = transientPoaMap.remove(name); if (poa != null) { poa.the_POAManager().deactivate(false, true); poa.destroy(false, false); } } }
254255256257258259260261262263264
public void unbind(final String name) throws Exception { final POA poa = persistentPoaMap.remove(name); if (poa != null) { poa.the_POAManager().deactivate(false, true); poa.destroy(false, false); } } }
154155156157158159160161162163164
disposableManager_.addDisposable(new Disposable() { public void dispose() { final POA _poa = (POA) container_.getComponentInstanceOfType(POA.class); _poa.destroy(true, false); } }); config_ = (Configuration) container_.getComponentInstanceOfType(Configuration.class);
714715716717718719720721722723724
throw new RuntimeException(ex); } TEST(servant2 == tmpservant); retain.destroy(true, true); defaultPOA.destroy(true, true); } void uTestServantToReference(ORB orb, POA root) { org.omg.CORBA.Object obj;
10591060106110621063106410651066106710681069
} TEST(!TestUtil.Compare(tmpid1, tmpid2)); unique.destroy(true, true); implicit.destroy(true, true); multiple.destroy(true, true); } void uTestIdToReference(ORB orb, POA root) { org.omg.CORBA.Object obj;
14021403140414051406140714081409141014111412
} TEST(tmpservant == def); tmpservant = null; retain.destroy(true, true); defaultPOA.destroy(true, true); } void uTestReferenceToId(ORB orb, POA root) { org.omg.CORBA.Object obj;
14991500150115021503150415051506150715081509
{ fail(ex); throw new RuntimeException(ex); } poa.destroy(true, true); } void runtests(ORB orb, POA root) { uTestCreateReference(orb, root);