Annotation Type ManagedAsyncExecutor


  • @Target({PARAMETER,FIELD,METHOD,TYPE})
    @Retention(RUNTIME)
    @Documented
    @Inherited
    @Qualifier
    public @interface ManagedAsyncExecutor
    Injection qualifier that can be used to inject an ExecutorService instance used by Jersey to execute managed 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