Class AbstractExecutorProvidersConfigurator
java.lang.Object
org.glassfish.jersey.process.internal.AbstractExecutorProvidersConfigurator
- All Implemented Interfaces:
BootstrapConfigurator
public abstract class AbstractExecutorProvidersConfigurator
extends Object
implements BootstrapConfigurator
Abstract Configurator which initializes and register
ExecutorServiceProvider
and
ScheduledExecutorServiceProvider
.- Author:
- Petr Bouda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
registerExecutors
(InjectionManager injectionManager, ComponentBag componentBag, ExecutorServiceProvider defaultAsyncExecutorProvider, ScheduledExecutorServiceProvider defaultScheduledExecutorProvider, ManagedObjectsFinalizer finalizer) Retrieves registeredExecutorServiceProvider
andScheduledExecutorServiceProvider
by an application and adds the default implementations of those interfaces to binds them intoInjectionManager
.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
init, postInit
-
Constructor Details
-
AbstractExecutorProvidersConfigurator
public AbstractExecutorProvidersConfigurator()
-
-
Method Details
-
registerExecutors
protected void registerExecutors(InjectionManager injectionManager, ComponentBag componentBag, ExecutorServiceProvider defaultAsyncExecutorProvider, ScheduledExecutorServiceProvider defaultScheduledExecutorProvider, ManagedObjectsFinalizer finalizer) Retrieves registeredExecutorServiceProvider
andScheduledExecutorServiceProvider
by an application and adds the default implementations of those interfaces to binds them intoInjectionManager
.- Parameters:
injectionManager
- injection manager used for binding selected executor service providers.componentBag
- provides executor service providers registered by an application.defaultAsyncExecutorProvider
- default implementation ofExecutorServiceProvider
.defaultScheduledExecutorProvider
- default implementation ofScheduledExecutorServiceProvider
.finalizer
- register finalizers.
-