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