com.stellent.cis.client.command.event
Interface ICommandEventRouter
public interface ICommandEventRouter
Routes events from publisher to subscriber.
Field Summary |
static java.lang.String |
BEAN_ID
|
BEAN_ID
static final java.lang.String BEAN_ID
- See Also:
- Constant Field Values
addListener
void addListener(ICommandEventListener eventListener)
- Routes all commands of the given type to this command listener.
- Parameters:
eventListener
- the event listener
publishEvent
void publishEvent(ICommandApplicationEvent applicationEvent)
- Publish the event throughout the application
- Parameters:
applicationEvent
- the application event