public abstract class SimpleLifeCycleBean extends Object implements org.springframework.context.SmartLifecycle
| Constructor and Description |
|---|
SimpleLifeCycleBean() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doStart() |
abstract void |
doStop() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public abstract void doStart()
public abstract void doStop()
public final void start()
start in interface org.springframework.context.Lifecyclepublic final void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic int getPhase()
getPhase in interface org.springframework.context.Phasedpublic boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void stop(Runnable callback)
stop in interface org.springframework.context.SmartLifecycleCopyright © 2018. All rights reserved.