Interface MessageListenerContainer
- All Superinterfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
- All Known Subinterfaces:
PulsarMessageListenerContainer
- All Known Implementing Classes:
AbstractPulsarMessageListenerContainer,ConcurrentPulsarMessageListenerContainer,DefaultPulsarMessageListenerContainer
public interface MessageListenerContainer
extends org.springframework.context.SmartLifecycle, org.springframework.beans.factory.DisposableBean
Internal abstraction used by the framework representing a message listener container.
Not meant to be implemented externally.
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Method Summary
Modifier and TypeMethodDescriptiondefault voiddestroy()default voidsetAutoStartup(boolean autoStartup) Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stopMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Method Details
-
destroy
default void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
setAutoStartup
default void setAutoStartup(boolean autoStartup)
-