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
Configurator which initializes and register
ExecutorServiceProvider
and
ScheduledExecutorServiceProvider
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
DefaultScheduledExecutorServiceProvider
used on the server side for providing the scheduled executor service that runs background tasks.private static class
DefaultExecutorServiceProvider
used on the server side for managed asynchronous request processing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManager
and 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
-
Constructor Details
-
ServerExecutorProvidersConfigurator
ServerExecutorProvidersConfigurator()
-
-
Method Details
-
init
Description copied from interface:BootstrapConfigurator
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.- Parameters:
injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-