class ClientExecutorProvidersConfigurator extends AbstractExecutorProvidersConfigurator
ExecutorServiceProvider
and
ScheduledExecutorServiceProvider
.Modifier and Type | Class and Description |
---|---|
static class |
ClientExecutorProvidersConfigurator.ClientExecutorServiceProvider |
static class |
ClientExecutorProvidersConfigurator.ClientScheduledExecutorServiceProvider |
Modifier and Type | Field and Description |
---|---|
private JerseyClient |
client |
private ComponentBag |
componentBag |
private java.util.concurrent.ExecutorService |
customExecutorService |
private java.util.concurrent.ScheduledExecutorService |
customScheduledExecutorService |
private static java.util.logging.Logger |
LOGGER |
private static java.util.concurrent.ExecutorService |
MANAGED_EXECUTOR_SERVICE |
Constructor and Description |
---|
ClientExecutorProvidersConfigurator(ComponentBag componentBag,
JerseyClient client,
java.util.concurrent.ExecutorService customExecutorService,
java.util.concurrent.ScheduledExecutorService customScheduledExecutorService) |
Modifier and Type | Method and Description |
---|---|
void |
init(InjectionManager injectionManager,
BootstrapBag bootstrapBag)
Pre-initialization method should only register services into
InjectionManager and populate BootstrapBag . |
private static java.util.concurrent.ExecutorService |
lookupManagedExecutorService() |
private java.util.concurrent.ScheduledExecutorService |
lookupManagedScheduledExecutorService() |
registerExecutors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postInit
private static final java.util.logging.Logger LOGGER
private static final java.util.concurrent.ExecutorService MANAGED_EXECUTOR_SERVICE
private final ComponentBag componentBag
private final JerseyClient client
private final java.util.concurrent.ExecutorService customExecutorService
private final java.util.concurrent.ScheduledExecutorService customScheduledExecutorService
ClientExecutorProvidersConfigurator(ComponentBag componentBag, JerseyClient client, java.util.concurrent.ExecutorService customExecutorService, java.util.concurrent.ScheduledExecutorService customScheduledExecutorService)
public void init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
BootstrapConfigurator
InjectionManager
and populate BootstrapBag
.injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.private static java.util.concurrent.ExecutorService lookupManagedExecutorService()
private java.util.concurrent.ScheduledExecutorService lookupManagedScheduledExecutorService()