Package org.axonframework.spring.config
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
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetPhase()Deprecated.booleanDeprecated.booleanDeprecated.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Deprecated.voidsetQueryBus(QueryBus queryBus) Deprecated.voidsetQueryHandlers(Collection<QueryHandlerAdapter> queryHandlers) Deprecated.voidstart()Deprecated.voidstop()Deprecated.voidDeprecated.
-
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:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
setQueryHandlers
Deprecated. -
setQueryBus
Deprecated. -
isAutoStartup
public boolean isAutoStartup()Deprecated.- Specified by:
isAutoStartupin interfaceorg.springframework.context.SmartLifecycle
-
stop
Deprecated.- Specified by:
stopin interfaceorg.springframework.context.SmartLifecycle
-
start
public void start()Deprecated.- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()Deprecated.- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()Deprecated.- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
getPhase
public int getPhase()Deprecated.- Specified by:
getPhasein interfaceorg.springframework.context.Phased- Specified by:
getPhasein interfaceorg.springframework.context.SmartLifecycle
-
MessageHandlerLookupandMessageHandlerConfigurer.