Class QueryHandlerSubscriber

java.lang.Object
org.axonframework.spring.config.QueryHandlerSubscriber
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

@Deprecated public class QueryHandlerSubscriber extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.context.SmartLifecycle
Deprecated.
Registers Spring beans that implement QueryHandlerAdapter with the query bus.
Since:
3.1
Author:
Marc Gathier
  • Constructor Details

    • QueryHandlerSubscriber

      public QueryHandlerSubscriber()
      Deprecated.
  • Method Details

    • setApplicationContext

      public void setApplicationContext(@Nonnull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Deprecated.
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • setQueryHandlers

      public void setQueryHandlers(Collection<QueryHandlerAdapter> queryHandlers)
      Deprecated.
    • setQueryBus

      public void setQueryBus(QueryBus queryBus)
      Deprecated.
    • isAutoStartup

      public boolean isAutoStartup()
      Deprecated.
      Specified by:
      isAutoStartup in interface org.springframework.context.SmartLifecycle
    • stop

      public void stop(Runnable runnable)
      Deprecated.
      Specified by:
      stop in interface org.springframework.context.SmartLifecycle
    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Deprecated.
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Deprecated.
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • getPhase

      public int getPhase()
      Deprecated.
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle