public class EventsourcingAssembler extends Assemblers.Visibility<EventsourcingAssembler>
Constructor and Description |
---|
EventsourcingAssembler() |
Modifier and Type | Method and Description |
---|---|
void |
assemble(ModuleAssembly module)
Assemblers receive a callback to the ModuleAssembly
they are supposed to configure.
|
EventsourcingAssembler |
withApplicationEvents() |
EventsourcingAssembler |
withCurrentUserFromUOWPrincipal() |
EventsourcingAssembler |
withDomainEvents() |
visibility, visibleIn
public EventsourcingAssembler withDomainEvents()
public EventsourcingAssembler withApplicationEvents()
public EventsourcingAssembler withCurrentUserFromUOWPrincipal()
public void assemble(ModuleAssembly module) throws AssemblyException
Assembler
An Assembler may create new Modules by calling
ModuleAssembly.layer()
and
then LayerAssembly.module(String)
(String)}.
This allows an Assembler to bootstrap an entire Layer with
more Modules.
module
- the Module to assembleAssemblyException
- thrown if the assembler tries to do something illegal