Package org.glassfish.jersey.client
Annotation Interface ClientBackgroundScheduler
@Target({PARAMETER,FIELD,METHOD,TYPE})
@Retention(RUNTIME)
@Documented
@Inherited
@Qualifier
public @interface ClientBackgroundScheduler
Injection qualifier that can be used to inject an
ScheduledExecutorService
instance used by Jersey client runtime to schedule background tasks.
The scheduled executor service instance injected using this injection qualifier can be customized
by registering a custom ScheduledExecutorServiceProvider
implementation that is itself
annotated with the @ClientAsyncExecutor
annotation.
- Since:
- 2.26
- Author:
- Adam Lindenthal
- See Also: