T
- defining the parent class this ChildEntity
belongs topublic interface ChildEntity<T>
Modifier and Type | Method and Description |
---|---|
List<MessageHandlingMember<? super T>> |
commandHandlers()
Returns the command handlers declared in this entity.
|
void |
publish(EventMessage<?> msg,
T declaringInstance)
Publish the given
msg to the appropriate handlers on the given declaringInstance . |
void publish(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 onList<MessageHandlingMember<? super T>> commandHandlers()
MessageHandlingMember
s that are capable of processing command messagesCopyright © 2010–2022. All rights reserved.