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, true); } }
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, true); } }
public void shutdown( boolean waitForCompletion ) { // It is important to copy the list of POAManagers first because // pm.deactivate removes itself from poaManagers! Iterator managers = null ; synchronized (this) { isShuttingDown = true ; managers = (new HashSet(poaManagers)).iterator(); } while ( managers.hasNext() ) { try { ((POAManager)managers.next()).deactivate(true, waitForCompletion); } catch ( org.omg.PortableServer.POAManagerPackage.AdapterInactive e ) {} } }
public void shutdown(boolean waitForCompletion) { // It is important to copy the list of POAManagers first because pm.deactivate removes itself from poaManagers! Iterator<POAManager> managers = null; synchronized (this) { isShuttingDown = true; managers = (new HashSet<POAManager>(poaManagers)).iterator(); } while (managers.hasNext()) { try { managers.next().deactivate(true, waitForCompletion); } catch (org.omg.PortableServer.POAManagerPackage.AdapterInactive e) { } } }
public void shutdown(boolean waitForCompletion) { // It is important to copy the list of POAManagers first because pm.deactivate removes itself from poaManagers! Iterator<POAManager> managers = null; synchronized (this) { isShuttingDown = true; managers = (new HashSet<POAManager>(poaManagers)).iterator(); } while (managers.hasNext()) { try { managers.next().deactivate(true, waitForCompletion); } catch (org.omg.PortableServer.POAManagerPackage.AdapterInactive e) { } } }
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); } }
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); } }