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 classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JerseyClientprivate final ComponentBagprivate final ExecutorServiceprivate final ScheduledExecutorServiceprivate static final Loggerprivate static final ExecutorService -
Constructor Summary
ConstructorsConstructorDescriptionClientExecutorProvidersConfigurator(ComponentBag componentBag, JerseyClient client, ExecutorService customExecutorService, ScheduledExecutorService customScheduledExecutorService) -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.private static ExecutorServiceprivate ScheduledExecutorServiceMethods inherited from class AbstractExecutorProvidersConfigurator
registerExecutorsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:BootstrapConfiguratorPre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.- Parameters:
injectionManager- not completed injection manager.bootstrapBag- bootstrap bag with services used in following processing.
-
lookupManagedExecutorService
-
lookupManagedScheduledExecutorService
-