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
           
 
Method Summary
 void addListener(ICommandEventListener eventListener)
          Routes all commands of the given type to this command listener.
 void publishEvent(ICommandApplicationEvent applicationEvent)
          Publish the event throughout the application
 

Field Detail

BEAN_ID

static final java.lang.String BEAN_ID
See Also:
Constant Field Values
Method Detail

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