View Javadoc

1   package com.atlassian.event.internal;
2   
3   import com.atlassian.event.spi.EventDispatcher;
4   import com.atlassian.event.spi.ListenerInvoker;
5   
6   /**
7    * A stub event dispatcher that simply calls the invoker.
8    */
9   final class StubEventDispatcher implements EventDispatcher {
10      public void dispatch(ListenerInvoker invoker, Object event) {
11          invoker.invoke(event);
12      }
13  }