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.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
public boolean isAutoStartup()
isAutoStartup
in interface org.springframework.context.SmartLifecycle
public void setAutoStartup(boolean autoStartup)
public void stop(Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle
public void setApplicationXml(String applicationXml)
Copyright © 2006–2018 TinyGroup. All rights reserved.