Package | Description |
---|---|
org.axonframework.modelling.command | |
org.axonframework.modelling.command.inspection |
Modifier and Type | Method and Description |
---|---|
void |
ForwardMatchingInstances.initialize(Member member,
EntityModel childEntity) |
default void |
ForwardingMode.initialize(Member member,
EntityModel childEntity)
Initializes an instance of a
ForwardingMode . |
Modifier and Type | Interface and Description |
---|---|
interface |
AggregateModel<T>
Specialized EntityModel that describes the capabilities and properties of an aggregate root of type
T . |
Modifier and Type | Method and Description |
---|---|
protected abstract <T> EntityModel<Object> |
AbstractChildEntityDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Member member)
Extracts the Child Entity contained in the given
declaringEntity as an EntityModel . |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Member member) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityCollectionDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Member member) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityMapDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Member member) |
<C> EntityModel<C> |
EntityModel.modelOf(Class<? extends C> childEntityType)
Get the EntityModel of an entity of type
childEntityType in case it is the child of the modeled entity. |
Modifier and Type | Method and Description |
---|---|
<T> Optional<ChildEntity<T>> |
AbstractChildEntityDefinition.createChildDefinition(Member member,
EntityModel<T> declaringEntity) |
<T> Optional<ChildEntity<T>> |
ChildEntityDefinition.createChildDefinition(Member member,
EntityModel<T> declaringEntity)
Inspect the given
member , which is declared on the given declaringEntity for the presence of a
Child Entity. |
protected abstract <T> EntityModel<Object> |
AbstractChildEntityDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Member member)
Extracts the Child Entity contained in the given
declaringEntity as an EntityModel . |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Member member) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityCollectionDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Member member) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityMapDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Member member) |
protected Map<String,Property<Object>> |
AbstractChildEntityDefinition.extractCommandHandlerRoutingKeys(Member member,
EntityModel<Object> childEntityModel)
Retrieves the routing keys of every command handler on the given
childEntityModel to be able to correctly
route commands to Entities. |
protected abstract <T> Object |
AbstractChildEntityDefinition.resolveCommandTarget(CommandMessage<?> msg,
T parent,
Member member,
EntityModel<Object> childEntityModel)
Resolve the target of an incoming
CommandMessage to the right Child Entity. |
protected <T> Object |
AggregateMemberAnnotatedChildEntityDefinition.resolveCommandTarget(CommandMessage<?> msg,
T parent,
Member member,
EntityModel<Object> childEntityModel) |
protected <T> Object |
AggregateMemberAnnotatedChildEntityCollectionDefinition.resolveCommandTarget(CommandMessage<?> msg,
T parent,
Member member,
EntityModel<Object> childEntityModel) |
protected <T> Object |
AggregateMemberAnnotatedChildEntityMapDefinition.resolveCommandTarget(CommandMessage<?> msg,
T parent,
Member member,
EntityModel<Object> childEntityModel) |
Constructor and Description |
---|
AnnotatedChildEntity(EntityModel<C> entityModel,
boolean forwardCommands,
BiFunction<CommandMessage<?>,P,C> commandTargetResolver,
BiFunction<EventMessage<?>,P,Stream<C>> eventTargetResolver)
Initiates a new AnnotatedChildEntity instance that uses the provided
entityModel to delegate command
and event handling to an annotated child entity. |
Copyright © 2010–2020. All rights reserved.