org.apache.cxf.workqueue
Class OneShotAsyncExecutor

java.lang.Object
  extended by org.apache.cxf.workqueue.OneShotAsyncExecutor
All Implemented Interfaces:
java.util.concurrent.Executor

public final class OneShotAsyncExecutor
extends java.lang.Object
implements java.util.concurrent.Executor

Used to provide simple async Executor semantics by creating a one-shot thread.


Method Summary
 void execute(java.lang.Runnable command)
           
static OneShotAsyncExecutor getInstance()
           
static boolean isA(java.util.concurrent.Executor executor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public void execute(java.lang.Runnable command)
Specified by:
execute in interface java.util.concurrent.Executor

getInstance

public static OneShotAsyncExecutor getInstance()

isA

public static boolean isA(java.util.concurrent.Executor executor)


Apache CXF