Interface ModuleBuilder<M extends Module>

Type Parameters:
M - The type of module created by this builder.
All Known Subinterfaces:
CommandHandlingModule, CommandHandlingModule.CommandHandlerPhase, EventSourcedEntityModule.EntityIdResolverPhase<ID,E>, QueryHandlingModule, QueryHandlingModule.QueryHandlerPhase, StateBasedEntityModule.EntityIdResolverPhase<ID,E>, StateBasedEntityModule.MessagingMetamodelPhase<ID,E>
All Known Implementing Classes:
PooledStreamingEventProcessorModule, SubscribingEventProcessorModule

public interface ModuleBuilder<M extends Module>
Functional interface describing how to build a Module of type M.
Since:
5.0.0
Author:
Allard Buijze, Steven van Beelen
  • Method Summary

    Modifier and Type
    Method
    Description
    Builds a Module of type M.
  • Method Details

    • build

      M build()
      Builds a Module of type M.
      Returns:
      A Module of type M.