Annotation Type CommandDispatcher
@CommandDispatcher
@Deprecated
@Documented
@Retention(RUNTIME)
@Target({METHOD,ANNOTATION_TYPE})
public @interface CommandDispatcher
Deprecated.
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 ElementDescriptionDeprecated.Optional identification of the command dispatched by this dispatcher.
-
Element Details
-
dispatches
String dispatchesDeprecated.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:
""
-
CommandDispatcher
instead.