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 Type
    Method
    Description
    default void
     
    default void
    setAutoStartup(boolean autoStartup)
     

    Methods inherited from interface org.springframework.context.Lifecycle

    isRunning, start, stop

    Methods inherited from interface org.springframework.context.SmartLifecycle

    getPhase, isAutoStartup, stop
  • Method Details

    • destroy

      default void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
    • setAutoStartup

      default void setAutoStartup(boolean autoStartup)