@Documented @Retention(value=SOURCE) @Target(value=TYPE) public @interface ThreadingAware
Annotates a class.
When annotating a class it indicates that it will be able to execute code using the Application's threading facilities.
The following methods will be added to classes annotated with @ThreadingAwarepublic boolean isUIThread()public void runInsideUIAsync(Runnable runnable)public void runInsideUISync(Runnable runnable)public void runOutsideUI(Runnable runnable)public Future runFuture(ExecutorService executorService, Callable callable)public Future runFuture(Callable callable)ThreadingHandler