@Override public void close() throws IOException { try { wrapped.close(); } finally { registry.unregisterBinding(this); } } }
@Override public void close() throws IOException { try { wrapped.close(); } finally { registry.unregisterBinding(this); } } }
@Override public void close() throws IOException { try { registry.unregisterBinding(this); } finally { wrapped.close(); } }
/** * Closes the outbound socket binding connection. * * @throws IOException */ public void close() throws IOException { final ManagedBinding binding = this.socketBindingManager.getNamedRegistry().getManagedBinding(this.name); if (binding == null) { return; } binding.close(); }
/** * Closes the outbound socket binding connection * * @throws IOException */ public void close() throws IOException { final ManagedBinding binding = this.socketBindingManager.getNamedRegistry().getManagedBinding(this.name); if (binding == null) { return; } binding.close(); }
/** * Closes the outbound socket binding connection * * @throws IOException */ public void close() throws IOException { final ManagedBinding binding = this.socketBindingManager.getNamedRegistry().getManagedBinding(this.name); if (binding == null) { return; } binding.close(); }