Class ContextualExecutorService

java.lang.Object
org.jboss.resteasy.concurrent.ContextualExecutorService
All Implemented Interfaces:
Executor, ExecutorService
Direct Known Subclasses:
ContextualScheduledExecutorService

public class ContextualExecutorService extends Object implements ExecutorService
An executor which wraps runnables and callables to capture the context of the current thread.

If a server is managed it's the responsibility of the user or container to manage the lifecycle of the wrapped executor service.

Note: if the executor is consider managed, for example running in a Jakarta EE environment, the following methods are effectively ignored.

Since:
5.0.0
Author:
James R. Perkins