com.atlassian.event.internal
Class AnnotationAsynchronousEventResolver

java.lang.Object
  extended by com.atlassian.event.internal.AnnotationAsynchronousEventResolver
All Implemented Interfaces:
AsynchronousEventResolver

public final class AnnotationAsynchronousEventResolver
extends java.lang.Object
implements AsynchronousEventResolver

Annotation based AsynchronousEventResolver. This will check whether the event is annotated with the given annotation.

The default annotation used is AsynchronousPreferred

Since:
2.0
See Also:
AsynchronousPreferred

Method Summary
 boolean isAsynchronousEvent(java.lang.Object event)
          Tells whether the event can be handled asynchronously or not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isAsynchronousEvent

public boolean isAsynchronousEvent(java.lang.Object event)
Description copied from interface: AsynchronousEventResolver
Tells whether the event can be handled asynchronously or not

Specified by:
isAsynchronousEvent in interface AsynchronousEventResolver
Parameters:
event - the event to check
Returns:
true if the event can be handled asynchronously, false otherwise.


Copyright © 2006-2013 Atlassian. All Rights Reserved.