@Override protected void stopInternal() throws LifecycleException { if (sessionIdGenerator instanceof Lifecycle) { ((Lifecycle) sessionIdGenerator).stop(); } }
/** * Stops the session manager of this Context. */ protected void managerStop() throws LifecycleException { if ((manager != null) && (manager instanceof Lifecycle)) { ((Lifecycle) manager).stop(); } }
public void doStop() throws Exception { if (embedded instanceof Lifecycle) { ((Lifecycle)embedded).stop(); } }
@Override protected void stopInternal() throws LifecycleException { if (sessionIdGenerator instanceof Lifecycle) { ((Lifecycle) sessionIdGenerator).stop(); } }
public void doStop() throws Exception { ((Lifecycle)server).stop(); }
/** * Stop an existing server instance. */ public void stop() { // Shut down the server if (server instanceof Lifecycle) { try { ((Lifecycle) server).stop(); } catch (LifecycleException e) { log.error("Catalina.stop", e); } } }
public void stop() throws LifecycleException { Iterator<RewriteMap> values = maps.values().iterator(); while (values.hasNext()) { RewriteMap map = values.next(); if (map instanceof Lifecycle) { ((Lifecycle) map).stop(); } } maps.clear(); rules = null; }
public void stop() throws LifecycleException { Iterator<RewriteMap> values = maps.values().iterator(); while (values.hasNext()) { RewriteMap map = values.next(); if (map instanceof Lifecycle) { ((Lifecycle) map).stop(); } } maps.clear(); rules = null; }
@Override protected synchronized void stopInternal() throws LifecycleException { super.stopInternal(); for (RewriteMap map : maps.values()) { if (map instanceof Lifecycle) { ((Lifecycle) map).stop(); } } maps.clear(); rules = null; }
@Override public void stop() throws LifecycleException { classLoader = delegate.getClassLoader(); if (delegate instanceof Lifecycle) { ((Lifecycle) delegate).stop(); } }
@Override protected synchronized void stopInternal() throws LifecycleException { super.stopInternal(); for (RewriteMap map : maps.values()) { if (map instanceof Lifecycle) { ((Lifecycle) map).stop(); } } maps.clear(); rules = null; }
@Override public void stop() throws LifecycleException { if (instance() != null && Lifecycle.class.isInstance(delegate)) { Lifecycle.class.cast(delegate).stop(); } state = LifecycleState.STOPPED; }
@Override protected synchronized void stopInternal() throws LifecycleException { super.stopInternal(); Iterator<RewriteMap> values = maps.values().iterator(); while (values.hasNext()) { RewriteMap map = values.next(); if (map instanceof Lifecycle) { ((Lifecycle) map).stop(); } } maps.clear(); rules = null; }
/** * Gracefully terminate the active use of the public methods of this * component and implement the requirements of * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}. * * @exception LifecycleException if this component detects a fatal error * that needs to be reported */ @Override protected void stopInternal() throws LifecycleException { // Stop this realm, then the sub-realms (reverse order to start) super.stopInternal(); for (Realm realm : realms) { if (realm instanceof Lifecycle) { ((Lifecycle) realm).stop(); } } }
/** * Gracefully terminate the active use of the public methods of this * component and implement the requirements of * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}. * * @exception LifecycleException if this component detects a fatal error * that needs to be reported */ @Override protected void stopInternal() throws LifecycleException { // Stop this realm, then the sub-realms (reverse order to start) super.stopInternal(); for (Realm realm : realms) { if (realm instanceof Lifecycle) { ((Lifecycle) realm).stop(); } } }
/** * Gracefully terminate the active use of the public methods of this * component and implement the requirements of * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}. * * @exception LifecycleException if this component detects a fatal error * that needs to be reported */ @Override protected void stopInternal() throws LifecycleException { // Stop this realm, then the sub-realms (reverse order to start) super.stopInternal(); for (Realm realm : realms) { if (realm instanceof Lifecycle) { ((Lifecycle) realm).stop(); } } }
/** * Gracefully terminate the active use of the public methods of this * component and implement the requirements of * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}. * * @exception LifecycleException if this component detects a fatal error * that needs to be reported */ @Override protected void stopInternal() throws LifecycleException { // Stop this realm, then the sub-realms (reverse order to start) super.stopInternal(); for (Realm realm : realms) { if (realm instanceof Lifecycle) { ((Lifecycle) realm).stop(); } } }
/** * Gracefully terminate the active use of the public methods of this * component and implement the requirements of * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}. * * @exception LifecycleException if this component detects a fatal error * that needs to be reported */ @Override protected void stopInternal() throws LifecycleException { // Stop this realm, then the sub-realms (reverse order to start) super.stopInternal(); for (Realm realm : realms) { if (realm instanceof Lifecycle) { ((Lifecycle) realm).stop(); } } }
/** * Gracefully terminate the active use of the public methods of this * component and implement the requirements of * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}. * * @exception LifecycleException if this component detects a fatal error * that needs to be reported */ @Override protected void stopInternal() throws LifecycleException { // Stop this realm, then the sub-realms (reverse order to start) super.stopInternal(); for (Realm realm : realms) { if (realm instanceof Lifecycle) { ((Lifecycle) realm).stop(); } } }
@Override protected void stopInternal() throws LifecycleException { final Class<?> r = loadClass(); if (r != null && Lifecycle.class.isAssignableFrom(r) && instance() != null) { Lifecycle.class.cast(instance()).stop(); } setState(LifecycleState.STOPPING); }