Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.workqueue
Class SynchronousExecutor

    java.lang.Object
      org.apache.cxf.workqueue.SynchronousExecutor

All Implemented Interfaces:
  Executor

    public final class SynchronousExecutor

extends Object
implements Executor

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(Runnable command)`
`static SynchronousExecutor` | `getInstance()`
`static boolean` | `isA(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(Runnable command)

  Specified by:
    `execute` in interface `Executor`

### getInstance

    public static SynchronousExecutor getInstance()

### isA

    public static boolean isA(Executor executor)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF