Package org.glassfish.jersey.server
Annotation Type ManagedAsyncExecutor
-
@Target({PARAMETER,FIELD,METHOD,TYPE}) @Retention(RUNTIME) @Documented @Inherited @Qualifier public @interface ManagedAsyncExecutor
Injection qualifier that can be used to inject anExecutorService
instance used by Jersey to executemanaged asynchronous requests
.The managed asynchronous request executor service instance injected using this injection qualifier can be customized by registering a custom
ExecutorServiceProvider
implementation that is itself annotated with the@ManagedAsyncExecutor
annotation.- Since:
- 2.18
- See Also:
ManagedAsyncExecutorLiteral