Interface MessageListenerContainer
- All Superinterfaces:
org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
- All Known Implementing Classes:
AbstractMessageListenerContainer
public interface MessageListenerContainer
extends org.springframework.context.SmartLifecycle
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 TypeMethodDescriptionReturn the container properties for this container.void
setupMessageListener
(MessageListener<?> messageListener) Set up the message listener to use.Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
Methods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Method Details
-
setupMessageListener
Set up the message listener to use. Throws anIllegalArgumentException
if that message listener type is not supported.- Parameters:
messageListener
- the object to wrapped to the MessageListener.
-
getContainerProperties
Object getContainerProperties()Return the container properties for this container.- Returns:
- the container properties.
-