Class ContextStartAfterRefreshListener

java.lang.Object
org.springframework.cloud.stream.binding.ContextStartAfterRefreshListener
All Implemented Interfaces:
EventListener

public class ContextStartAfterRefreshListener extends Object
Automatically starts the context after a refresh.
Author:
Marius Bogoevici
  • Constructor Details

    • ContextStartAfterRefreshListener

      public ContextStartAfterRefreshListener()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Throws:
      org.springframework.beans.BeansException
    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
    • supportsAsyncExecution

      default boolean supportsAsyncExecution()