Package | Description |
---|---|
org.glassfish.jersey.process.internal |
Common Jersey internal processing classes.
|
org.glassfish.jersey.spi |
Common Jersey service provider contract (SPI) classes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractExecutorProvidersConfigurator.registerExecutors(org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
ComponentBag componentBag,
ExecutorServiceProvider defaultAsyncExecutorProvider,
ScheduledExecutorServiceProvider defaultScheduledExecutorProvider,
ManagedObjectsFinalizer finalizer)
Retrieves registered
ExecutorServiceProvider and ScheduledExecutorServiceProvider by an application and
adds the default implementations of those interfaces to binds them into InjectionManager . |
Modifier and Type | Method and Description |
---|---|
static void |
ExecutorProviders.registerExecutorBindings(org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
List<ExecutorServiceProvider> executorProviders,
List<ScheduledExecutorServiceProvider> scheduledProviders)
Create qualified
ExecutorService and ScheduledExecutorService injection bindings based on the registered
providers implementing the ExecutorServiceProvider and/or ScheduledExecutorServiceProvider SPI. |
Modifier and Type | Interface and Description |
---|---|
interface |
ScheduledExecutorServiceProvider
An extension contract for providing pluggable scheduled executor service providers to be used by
Jersey client or server runtime whenever a specific scheduler is needed to schedule execution of a
Jersey runtime processing task.
|
Modifier and Type | Class and Description |
---|---|
class |
ScheduledThreadPoolExecutorProvider
Default implementation of the Jersey
scheduled executor service provider SPI . |
class |
ThreadPoolExecutorProvider
Default implementation of the Jersey
executor service provider SPI . |
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.