Annotation Type CommandDispatcher
-
@CommandDispatcher @Deprecated @Documented @Retention(RUNTIME) @Target({METHOD,ANNOTATION_TYPE}) public @interface CommandDispatcher
Deprecated.since 1.7, for removal in 2.0. UseCommandDispatcher
instead.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
Deprecated.Optional identification of the command dispatched by this dispatcher.
-
-
-
Element Detail
-
dispatches
java.lang.String dispatches
Deprecated.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:
- ""
-
-