T
- public 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()
Copyright © 2010–2019. All rights reserved.