@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface CommandHandlingMemberCollection
@CommandHandlerMember, it is a hint towards Command Handler discovery
mechanisms that the entity should also be inspected for {@link org.axonframework.commandhandling.annotation.CommandHandler| Modifier and Type | Required Element and Description |
|---|---|
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.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends AbstractAnnotatedEntity> |
entityType
The type of entity contained in the annotated collection.
|
public abstract String entityId
PropertyAccessStrategy.public abstract String commandTargetProperty
PropertyAccessStrategy.public abstract Class<? extends AbstractAnnotatedEntity> entityType
Copyright © 2010-2015. All Rights Reserved.