Package | Description |
---|---|
org.axonframework.commandhandling.model | |
org.axonframework.commandhandling.model.inspection |
Modifier and Type | Method and Description |
---|---|
void |
ForwardMatchingInstances.initialize(Field field,
EntityModel childEntity) |
default void |
ForwardingMode.initialize(Field field,
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 | Class and Description |
---|---|
class |
ModelInspector<T>
Deprecated.
in favor of using one of the
AggregateMetaModelFactory implementations |
Modifier and Type | Method and Description |
---|---|
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityMapDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Field field) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Field field) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityCollectionDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Field field) |
protected abstract <T> EntityModel<Object> |
AbstractChildEntityDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Field field)
Extracts the Child Entity contained in the given
declaringEntity as an
EntityModel . |
<C> EntityModel<C> |
ModelInspector.modelOf(Class<? extends C> childEntityType)
Deprecated.
|
<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>> |
ChildEntityDefinition.createChildDefinition(Field field,
EntityModel<T> declaringEntity)
Inspect the given
field , which is declared on the given declaringEntity for the presence of a
Child Entity. |
<T> Optional<ChildEntity<T>> |
AbstractChildEntityDefinition.createChildDefinition(Field field,
EntityModel<T> declaringEntity) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityMapDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Field field) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Field field) |
protected <T> EntityModel<Object> |
AggregateMemberAnnotatedChildEntityCollectionDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Field field) |
protected abstract <T> EntityModel<Object> |
AbstractChildEntityDefinition.extractChildEntityModel(EntityModel<T> declaringEntity,
Map<String,Object> attributes,
Field field)
Extracts the Child Entity contained in the given
declaringEntity as an
EntityModel . |
protected Map<String,Property<Object>> |
AbstractChildEntityDefinition.extractCommandHandlerRoutingKeys(Field field,
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 <T> Object |
AggregateMemberAnnotatedChildEntityMapDefinition.resolveCommandTarget(CommandMessage<?> msg,
T parent,
Field field,
EntityModel<Object> childEntityModel) |
protected <T> Object |
AggregateMemberAnnotatedChildEntityDefinition.resolveCommandTarget(CommandMessage<?> msg,
T parent,
Field field,
EntityModel<Object> childEntityModel) |
protected <T> Object |
AggregateMemberAnnotatedChildEntityCollectionDefinition.resolveCommandTarget(CommandMessage<?> msg,
T parent,
Field field,
EntityModel<Object> childEntityModel) |
protected abstract <T> Object |
AbstractChildEntityDefinition.resolveCommandTarget(CommandMessage<?> msg,
T parent,
Field field,
EntityModel<Object> childEntityModel)
Resolve the target of an incoming
CommandMessage to the right Child
Entity. |
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–2017. All rights reserved.