Package org.jmolecules.architecture.cqrs
Annotation Interface 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 a
Command
.- Since:
- 1.1
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional identification of the command dispatched by this dispatcher.
-
Element Details
-
dispatches
String dispatchesOptional 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:
""
-