public class OutputBindingLifecycle extends Object implements org.springframework.context.SmartLifecycle, org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
OutputBindingLifecycle() |
Modifier and Type | Method and Description |
---|---|
int |
getPhase()
Return a low value so that this bean is started after receiving Lifecycle beans are started.
|
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
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 boolean isAutoStartup()
isAutoStartup
in interface org.springframework.context.SmartLifecycle
public void stop(Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.