public class TinyLifecycle
extends org.springframework.context.support.ApplicationObjectSupport
implements org.springframework.context.SmartLifecycle, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
TinyLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setApplicationXml(String applicationXml) |
void |
setAutoStartup(boolean autoStartup) |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public void start()
start in interface org.springframework.context.Lifecyclepublic 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 setAutoStartup(boolean autoStartup)
public void stop(Runnable callback)
stop in interface org.springframework.context.SmartLifecyclepublic void setApplicationXml(String applicationXml)
Copyright © 2006–2018 TinyGroup. All rights reserved.