public static class RequestExecutorProvider.SameThreadProvider extends java.lang.Object implements RequestExecutorProvider
RequestExecutorProvider implementation, which always returns
null to force the user code to be executed on the current Thread.RequestExecutorProvider.SameThreadProvider, RequestExecutorProvider.WorkerThreadProvider| Constructor and Description |
|---|
RequestExecutorProvider.SameThreadProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Executor |
getExecutor(Request request)
Returns the
Executor to execute user's code associated with the
Request processing. |
public RequestExecutorProvider.SameThreadProvider()
public java.util.concurrent.Executor getExecutor(Request request)
RequestExecutorProviderExecutor to execute user's code associated with the
Request processing.getExecutor in interface RequestExecutorProviderrequest - RequestExecutor to execute user's code associated with the
Request processing, or null if the Request has
to be executed on the current ThreadCopyright © 2013 Oracle Corporation. All Rights Reserved.