Package org.axonframework.queryhandling
Interface QueryHandlerAdapter
- All Known Implementing Classes:
AnnotationQueryHandlerAdapter
public interface QueryHandlerAdapter
Describes a class capable of subscribing to the query bus.
- Since:
- 3.1
- Author:
- Marc Gathier
-
Method Summary
Modifier and TypeMethodDescriptionSubscribes the query handlers of thisQueryHandlerAdapterto the givenQueryBus.
-
Method Details
-
subscribe
Subscribes the query handlers of thisQueryHandlerAdapterto the givenQueryBus.- Parameters:
queryBus- the query bus to subscribe- Returns:
- a
Registrationto unsubscribe thisQueryHandlerAdapter
-