Class AbstractLifecycle
java.lang.Object
cn.sliew.carp.framework.queue.kekio.AbstractLifecycle
- All Implemented Interfaces:
org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
- Direct Known Subclasses:
AbstractQueue
public abstract class AbstractLifecycle
extends Object
implements org.springframework.context.SmartLifecycle
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Constructor Details
-
AbstractLifecycle
public AbstractLifecycle()
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
doStart
- Throws:
Exception
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
doStop
- Throws:
Exception
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-