public abstract class AbstractExecutorProvidersConfigurator extends Object implements BootstrapConfigurator
ExecutorServiceProvider
and
ScheduledExecutorServiceProvider
.Constructor and Description |
---|
AbstractExecutorProvidersConfigurator() |
Modifier and Type | Method and Description |
---|---|
protected void |
registerExecutors(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 . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, postInit
public AbstractExecutorProvidersConfigurator()
protected void registerExecutors(InjectionManager injectionManager, ComponentBag componentBag, ExecutorServiceProvider defaultAsyncExecutorProvider, ScheduledExecutorServiceProvider defaultScheduledExecutorProvider, ManagedObjectsFinalizer finalizer)
ExecutorServiceProvider
and ScheduledExecutorServiceProvider
by an application and
adds the default implementations of those interfaces to binds them into InjectionManager
.injectionManager
- injection manager used for binding selected executor service providers.componentBag
- provides executor service providers registered by an application.defaultAsyncExecutorProvider
- default implementation of ExecutorServiceProvider
.defaultScheduledExecutorProvider
- default implementation of ScheduledExecutorServiceProvider
.finalizer
- register finalizers.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.