Package org.glassfish.jersey.client
Class ClientExecutorProvidersConfigurator
java.lang.Object
org.glassfish.jersey.process.internal.AbstractExecutorProvidersConfigurator
org.glassfish.jersey.client.ClientExecutorProvidersConfigurator
- All Implemented Interfaces:
BootstrapConfigurator
Configurator which initializes and register
ExecutorServiceProvider
and
ScheduledExecutorServiceProvider
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JerseyClient
private final ComponentBag
private final ExecutorService
private final ScheduledExecutorService
private static final Logger
private static final ExecutorService
-
Constructor Summary
ConstructorsConstructorDescriptionClientExecutorProvidersConfigurator
(ComponentBag componentBag, JerseyClient client, ExecutorService customExecutorService, ScheduledExecutorService customScheduledExecutorService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.private static ExecutorService
private ScheduledExecutorService
Methods inherited from class org.glassfish.jersey.process.internal.AbstractExecutorProvidersConfigurator
registerExecutors
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.glassfish.jersey.internal.BootstrapConfigurator
postInit
-
Field Details
-
LOGGER
-
MANAGED_EXECUTOR_SERVICE
-
componentBag
-
client
-
customExecutorService
-
customScheduledExecutorService
-
-
Constructor Details
-
ClientExecutorProvidersConfigurator
ClientExecutorProvidersConfigurator(ComponentBag componentBag, JerseyClient client, ExecutorService customExecutorService, ScheduledExecutorService customScheduledExecutorService)
-
-
Method Details
-
init
Description copied from interface:BootstrapConfigurator
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.- Parameters:
injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-
lookupManagedExecutorService
-
lookupManagedScheduledExecutorService
-