@Override protected void deactivate() { synchronized (this) { if (registry != null) { registry.removeDestination(path); } } }
@Override public void shutdown() { synchronized (this) { if (registry != null) { registry.removeDestination(path); } } super.shutdown(); } }
public void destroy() { for (String path : destinationRegistry.getDestinationsPaths()) { // clean up the destination in case the destination itself can no // longer access the registry later AbstractHTTPDestination dest = destinationRegistry.getDestinationForPath(path); synchronized (dest) { destinationRegistry.removeDestination(path); dest.releaseRegistry(); } } destinationRegistry = null; destroyBus(); }
public void destroy() { if (!globalRegistry) { for (String path : destinationRegistry.getDestinationsPaths()) { // clean up the destination in case the destination itself can // no longer access the registry later AbstractHTTPDestination dest = destinationRegistry.getDestinationForPath(path); synchronized (dest) { destinationRegistry.removeDestination(path); dest.releaseRegistry(); } } destinationRegistry = null; } destroyBus(); super.destroy(); }
@Override protected void deactivate() { synchronized (this) { if (registry != null) { registry.removeDestination(path); } } }
@Override protected void deactivate() { synchronized (this) { if (registry != null) { registry.removeDestination(path); } } }
@Override public void shutdown() { synchronized (this) { if (registry != null) { registry.removeDestination(path); } } super.shutdown(); } }
@Override public void shutdown() { synchronized (this) { if (registry != null) { registry.removeDestination(path); } } super.shutdown(); } }
destinationRegistry.removeDestination(path); dest.releaseRegistry();
@Override public void destroy() { for (String path : destinationRegistry.getDestinationsPaths()) { // clean up the destination in case the destination itself can no longer access the registry later AbstractHTTPDestination dest = destinationRegistry.getDestinationForPath(path); synchronized (dest) { destinationRegistry.removeDestination(path); dest.releaseRegistry(); } } destinationRegistry = null; destroyBus(); }
public void destroy() { if (!globalRegistry) { for (String path : destinationRegistry.getDestinationsPaths()) { // clean up the destination in case the destination itself can // no longer access the registry later AbstractHTTPDestination dest = destinationRegistry.getDestinationForPath(path); synchronized (dest) { destinationRegistry.removeDestination(path); dest.releaseRegistry(); } } destinationRegistry = null; } destroyBus(); }
public void destroy() { if (!globalRegistry) { for (String path : destinationRegistry.getDestinationsPaths()) { // clean up the destination in case the destination itself can // no longer access the registry later AbstractHTTPDestination dest = destinationRegistry.getDestinationForPath(path); synchronized (dest) { destinationRegistry.removeDestination(path); dest.releaseRegistry(); } } destinationRegistry = null; } destroyBus(); }
public void destroy() { if (!globalRegistry) { for (String path : destinationRegistry.getDestinationsPaths()) { // clean up the destination in case the destination itself can // no longer access the registry later AbstractHTTPDestination dest = destinationRegistry.getDestinationForPath(path); synchronized (dest) { destinationRegistry.removeDestination(path); dest.releaseRegistry(); } } destinationRegistry = null; } destroyBus(); super.destroy(); }