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 Details

    • 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 given configurationLambda within 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.