|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.workqueue.SynchronousExecutor
public final class SynchronousExecutor
Used to mimic Executor semantics by hijacking calling thread. Must be used for Service.getExecutor() return unless a real (i.e. truely asynchronous) Executor is available.
| Method Summary | |
|---|---|
void |
execute(java.lang.Runnable command)
|
static SynchronousExecutor |
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 |
|---|
public void execute(java.lang.Runnable command)
execute in interface java.util.concurrent.Executorpublic static SynchronousExecutor getInstance()
public static boolean isA(java.util.concurrent.Executor executor)
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||