@Override public void clearDependencyRegistrationHooks() throws IOException { for (ServiceCache<?> cache : this.dependencyRegistry.values()) { cache.close(); } }
@Override public void close() throws Exception { // might be redundant, as serviceCache clears them upon closure clearListeners(); serviceCache.close(); } }
/** * {@inheritDoc} */ @Override public void close() throws IOException { discovery.providerClosed(this); cache.close(); }
@Override public void close() throws IOException { discovery.providerClosed(this); cache.close(); } }
/** * {@inheritDoc} */ @Override public void close() throws IOException { discovery.providerClosed(this); cache.close(); }
private void unadvertiseService() throws Exception { // Stop the service discovery cache sCache.close(); // Unadvertise on the service discovery sDiscovery.unregisterService(getMetadataInstance()); sDiscovery.close(); }
private void unadvertiseService() throws Exception { // Stop the service discovery cache sCache.close(); // Unadvertise on the service discovery sDiscovery.unregisterService(getMetadataInstance()); sDiscovery.close(); }