Package | Description |
---|---|
org.axonframework.queryhandling | |
org.axonframework.queryhandling.registration |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Collection<QuerySubscription<?>>> |
SimpleQueryBus.getSubscriptions()
Returns the subscriptions for this query bus.
|
Modifier and Type | Method and Description |
---|---|
List<QuerySubscription<?>> |
LoggingDuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler) |
List<QuerySubscription<?>> |
FailingDuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler) |
List<QuerySubscription<?>> |
DuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler)
Chooses what to do when a duplicate handler is registered, returning the handlers that should be selected for
query handling, or otherwise throwing an exception to reject registration altogether.
|
Modifier and Type | Method and Description |
---|---|
List<QuerySubscription<?>> |
LoggingDuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler) |
List<QuerySubscription<?>> |
FailingDuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler) |
List<QuerySubscription<?>> |
DuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler)
Chooses what to do when a duplicate handler is registered, returning the handlers that should be selected for
query handling, or otherwise throwing an exception to reject registration altogether.
|
Modifier and Type | Method and Description |
---|---|
List<QuerySubscription<?>> |
LoggingDuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler) |
List<QuerySubscription<?>> |
FailingDuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler) |
List<QuerySubscription<?>> |
DuplicateQueryHandlerResolver.resolve(String queryName,
Type responseType,
List<QuerySubscription<?>> registeredHandlers,
QuerySubscription<?> candidateHandler)
Chooses what to do when a duplicate handler is registered, returning the handlers that should be selected for
query handling, or otherwise throwing an exception to reject registration altogether.
|
Constructor and Description |
---|
DuplicateQueryHandlerSubscriptionException(String queryName,
Type responseType,
QuerySubscription<?> initialHandler,
QuerySubscription<?> duplicateHandler)
Initialize a duplicate query handler subscription exception using the given
initialHandler and duplicateHandler to form a specific message. |
DuplicateQueryHandlerSubscriptionException(String queryName,
Type responseType,
QuerySubscription<?> initialHandler,
QuerySubscription<?> duplicateHandler)
Initialize a duplicate query handler subscription exception using the given
initialHandler and duplicateHandler to form a specific message. |
Copyright © 2010–2023. All rights reserved.