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 registerExecutorServiceProvider
andScheduledExecutorServiceProvider
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ServerExecutorProvidersConfigurator.DefaultBackgroundSchedulerProvider
DefaultScheduledExecutorServiceProvider
used on the server side for providing the scheduled executor service that runs background tasks.private static class
ServerExecutorProvidersConfigurator.DefaultManagedAsyncExecutorProvider
DefaultExecutorServiceProvider
used 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 void
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
-
-
-
-
Method Detail
-
init
public void init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
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.
-
-