Interface QueryHandlingModule.SetupPhase
- Enclosing interface:
QueryHandlingModule
public static interface QueryHandlingModule.SetupPhase
The setup phase of the query handling module.
The queryHandlers() method allows users to start configuring all the QueryHandlers
for this module.
-
Method Summary
Modifier and TypeMethodDescriptionInitiates the query handler configuration phase for this module.queryHandlers(Consumer<QueryHandlingModule.QueryHandlerPhase> configurationLambda) Initiates the query handler configuration phase for this module, as well as performing the givenconfigurationLambdawithin this phase.
-
Method Details
-
queryHandlers
QueryHandlingModule.QueryHandlerPhase queryHandlers()Initiates the query handler configuration phase for this module.- Returns:
- The query handler phase of this module, for a fluent API.
-
queryHandlers
default QueryHandlingModule.QueryHandlerPhase queryHandlers(@Nonnull Consumer<QueryHandlingModule.QueryHandlerPhase> configurationLambda) Initiates the query handler configuration phase for this module, as well as performing the givenconfigurationLambdawithin this phase.- Parameters:
configurationLambda- A consumer of the query handler phase, performing query handler configuration right away.- Returns:
- The query handler phase of this module, for a fluent API.
-