Package org.glassfish.jersey.server
Class ServerExecutorProvidersConfigurator
- java.lang.Object
-
- org.glassfish.jersey.process.internal.AbstractExecutorProvidersConfigurator
-
- org.glassfish.jersey.server.ServerExecutorProvidersConfigurator
-
- All Implemented Interfaces:
BootstrapConfigurator
class ServerExecutorProvidersConfigurator extends AbstractExecutorProvidersConfigurator
Configurator which initializes and registerExecutorServiceProviderandScheduledExecutorServiceProvider.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classServerExecutorProvidersConfigurator.DefaultBackgroundSchedulerProviderDefaultScheduledExecutorServiceProviderused on the server side for providing the scheduled executor service that runs background tasks.private static classServerExecutorProvidersConfigurator.DefaultManagedAsyncExecutorProviderDefaultExecutorServiceProviderused on the server side for managed asynchronous request processing.
-
Constructor Summary
Constructors Constructor Description ServerExecutorProvidersConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(InjectionManager injectionManager, BootstrapBag bootstrapBag)Pre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.-
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
-
-
-
-
Method Detail
-
init
public void init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
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.
-
-