com.atlassian.event.spi
Interface EventDispatcher

All Known Implementing Classes:
AsynchronousAbleEventDispatcher

public interface EventDispatcher

Dispatches an event to its listener (through the invoker). Implementations can choose for example whether to dispatch events asynchronously.

Since:
2.0

Method Summary
 void dispatch(ListenerInvoker invoker, java.lang.Object event)
          Dispatches the event using the invoker.
 

Method Detail

dispatch

void dispatch(ListenerInvoker invoker,
              java.lang.Object event)
Dispatches the event using the invoker.

Parameters:
invoker - the invoker to use to dispatch the event
event - the event to dispatch
Throws:
java.lang.NullPointerException - if either the invoker or the event is null


Copyright © 2006-2009 Atlassian. All Rights Reserved.