T - defining the parent class this ChildEntity belongs topublic interface ChildEntity<T>
| Modifier and Type | Method and Description |
|---|---|
List<org.axonframework.messaging.annotation.MessageHandlingMember<? super T>> |
commandHandlers()
Returns the command handlers declared in this entity.
|
void |
publish(org.axonframework.eventhandling.EventMessage<?> msg,
T declaringInstance)
Publish the given
msg to the appropriate handlers on the given declaringInstance. |
void publish(org.axonframework.eventhandling.EventMessage<?> msg,
T declaringInstance)
msg to the appropriate handlers on the given declaringInstance.msg - the message to publishdeclaringInstance - the instance of this entity to invoke handlers onCopyright © 2010–2022. All rights reserved.