Package org.jmolecules.architecture.cqrs
Annotation Type CommandDispatcher
-
@Documented @Retention(RUNTIME) @Target({METHOD,ANNOTATION_TYPE}) public @interface CommandDispatcher
Identifies a command dispatcher in the context of CQRS, i.e. logic to dispatch aCommand
.- Since:
- 1.1
- See Also:
- CQRS Documents by Greg Young - Commands
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
dispatches
Optional identification of the command dispatched by this dispatcher.
-
-
-
Element Detail
-
dispatches
java.lang.String dispatches
Optional identification of the command dispatched by this dispatcher. This information may be used for easier linkage between command and dispatcher by external tools and refers to the combination ofCommand.namespace()
andCommand.name()
, separated by '.' (dot).- Default:
- ""
-
-