public class MessageLogConsumerContainer
extends java.lang.Object
implements org.springframework.context.SmartLifecycle
| Constructor and Description |
|---|
MessageLogConsumerContainer(java.lang.String messageLogBeanName,
ChannelPosition startFrom,
org.springframework.context.ApplicationContext applicationContext) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning()
Check whether this component is currently running.
|
void |
start() |
void |
stop() |
void |
stop(java.lang.Runnable callback) |
public MessageLogConsumerContainer(java.lang.String messageLogBeanName,
ChannelPosition startFrom,
org.springframework.context.ApplicationContext applicationContext)
public boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void stop(java.lang.Runnable callback)
stop in interface org.springframework.context.SmartLifecyclepublic int getPhase()
getPhase in interface org.springframework.context.PhasedgetPhase in interface org.springframework.context.SmartLifecyclepublic void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
In the case of a container, this will return true only if all
components that apply are currently running.
isRunning in interface org.springframework.context.Lifecycle