com.atlassian.confluence.event
Class ConfluenceEventDispatcher

java.lang.Object
  extended by com.atlassian.event.internal.AsynchronousAbleEventDispatcher
      extended by com.atlassian.confluence.event.ConfluenceEventDispatcher
All Implemented Interfaces:
com.atlassian.event.spi.EventDispatcher

public class ConfluenceEventDispatcher
extends com.atlassian.event.internal.AsynchronousAbleEventDispatcher

Confluence specific even dispatcher which doesn't have any functionality and sole purpose is to relax visibility of getAsynchronousExecutor() method

Needed for tests which are relying on completion of async events.

Since:
5.5

Constructor Summary
ConfluenceEventDispatcher(com.atlassian.event.spi.EventExecutorFactory executorFactory, com.atlassian.event.internal.AsynchronousEventResolver asynchronousEventResolver)
           
 
Method Summary
 java.util.concurrent.Executor getAsynchronousExecutor()
           
 
Methods inherited from class com.atlassian.event.internal.AsynchronousAbleEventDispatcher
dispatch, executorFor, getSynchronousExecutor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceEventDispatcher

public ConfluenceEventDispatcher(com.atlassian.event.spi.EventExecutorFactory executorFactory,
                                 com.atlassian.event.internal.AsynchronousEventResolver asynchronousEventResolver)
Method Detail

getAsynchronousExecutor

public java.util.concurrent.Executor getAsynchronousExecutor()
Overrides:
getAsynchronousExecutor in class com.atlassian.event.internal.AsynchronousAbleEventDispatcher


Copyright © 2003-2014 Atlassian. All Rights Reserved.