public void stop() { ServiceHelper.stop(host); }
public void stop() { ServiceHelper.stop(factories); }
public void stop() { ServiceHelper.stop(factories); }
public void stop() { ServiceHelper.stop(corbaHosts); corbaHosts.clear(); loaded = false; }
public void removeDomainRegistryFactory(DomainRegistryFactory factory) { if (factories.remove(factory)) { ServiceHelper.stop(factory); } }
public void removeDomainRegistryFactory(DomainRegistryFactory factory) { if (factories.remove(factory)) { ServiceHelper.stop(factory); } }
public void stop() { ServiceHelper.stop(servletHosts); servletHosts.clear(); registry = null; }
public void stop() { ServiceHelper.stop(corbaHosts); corbaHosts.clear(); loaded = false; }
public synchronized void stop() { // Get a unique map as an extension point may exist in the map by different keys Map<LifeCycleListener, LifeCycleListener> map = new IdentityHashMap<LifeCycleListener, LifeCycleListener>(); for (Object extp : extensionPoints.values()) { if (extp instanceof LifeCycleListener) { LifeCycleListener listener = (LifeCycleListener)extp; map.put(listener, listener); } } ServiceHelper.stop(map.values()); extensionPoints.clear(); ExtensionPointRegistryLocator.removeExtensionPointRegistry(this); }
public synchronized void stop() { // Get a unique map as an extension point may exist in the map by different keys Map<LifeCycleListener, LifeCycleListener> map = new IdentityHashMap<LifeCycleListener, LifeCycleListener>(); for (Object extp : extensionPoints.values()) { if (extp instanceof LifeCycleListener) { LifeCycleListener listener = (LifeCycleListener)extp; map.put(listener, listener); } } ServiceHelper.stop(map.values()); extensionPoints.clear(); ExtensionPointRegistryLocator.removeExtensionPointRegistry(this); }
/** * Remove an extension point based on the interface that it implements * * @param extensionPoint The extension point to remove * * @throws IllegalArgumentException if extensionPoint is null */ public synchronized void removeExtensionPoint(Object extensionPoint) { if (extensionPoint == null) { throw new IllegalArgumentException("Cannot remove null as an ExtensionPoint"); } ServiceHelper.stop(extensionPoint); Set<Class<?>> interfaces = getAllInterfaces(extensionPoint.getClass()); for (Class<?> i : interfaces) { unregisterExtensionPoint(i); } }
/** * Remove an extension point based on the interface that it implements * * @param extensionPoint The extension point to remove * * @throws IllegalArgumentException if extensionPoint is null */ public synchronized void removeExtensionPoint(Object extensionPoint) { if (extensionPoint == null) { throw new IllegalArgumentException("Cannot remove null as an ExtensionPoint"); } ServiceHelper.stop(extensionPoint); Set<Class<?>> interfaces = getAllInterfaces(extensionPoint.getClass()); for (Class<?> i : interfaces) { unregisterExtensionPoint(i); } }
stop(instance); return null; } else if (method.equals(START_METHOD)) {
stop(instance); return null; } else if (method.equals(START_METHOD)) {