Package org.eclipse.jetty.util.component
Class StopLifeCycle
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.StopLifeCycle
-
- All Implemented Interfaces:
java.util.EventListener
,LifeCycle
,LifeCycle.Listener
public class StopLifeCycle extends AbstractLifeCycle implements LifeCycle.Listener
A LifeCycle that when started will stop another LifeCycle
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description StopLifeCycle(LifeCycle lifecycle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lifeCycleStarted(LifeCycle lifecycle)
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, doStart, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle.Listener
lifeCycleFailure, lifeCycleStarting, lifeCycleStopped, lifeCycleStopping
-
-
-
-
Constructor Detail
-
StopLifeCycle
public StopLifeCycle(LifeCycle lifecycle)
-
-
Method Detail
-
lifeCycleStarted
public void lifeCycleStarted(LifeCycle lifecycle)
- Specified by:
lifeCycleStarted
in interfaceLifeCycle.Listener
-
-