T
- public interface ChildEntity<T>
Modifier and Type | Method and Description |
---|---|
Map<String,MessageHandlingMember<? super T>> |
commandHandlers()
Returns the commands and their respective handler that this entity declares
|
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 onMap<String,MessageHandlingMember<? super T>> commandHandlers()
Copyright © 2010–2017. All rights reserved.