Class StopLifeCycle
- java.lang.Object
-
- com.aspectran.core.util.lifecycle.AbstractLifeCycle
-
- com.aspectran.core.util.lifecycle.StopLifeCycle
-
- All Implemented Interfaces:
LifeCycle
,LifeCycle.Listener
,java.util.EventListener
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 interface com.aspectran.core.util.lifecycle.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 com.aspectran.core.util.lifecycle.AbstractLifeCycle
addLifeCycleListener, doStart, doStop, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.aspectran.core.util.lifecycle.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
-
-