|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface CommandHandlingMemberMap
Marker annotation for fields that contain a Map
of Entities capable of handling Commands on behalf
of the aggregate. When a field is annotated with @CommandHandlerMemberMap
, it is a hint towards Command
Handler discovery mechanisms that the entity should also be inspected for CommandHandler
annotated methods.
Required Element Summary | |
---|---|
String |
commandTargetProperty
The name of the property on the incoming command's payload that identifies the intended target of the command. |
Optional Element Summary | |
---|---|
Class<? extends AbstractAnnotatedEntity> |
entityType
The type of entity contained in the annotated map. |
Element Detail |
---|
public abstract String commandTargetProperty
PropertyAccessStrategy
.
public abstract Class<? extends AbstractAnnotatedEntity> entityType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |