Package org.glassfish.jersey.internal
Class ContextResolverFactory.ContextResolversConfigurator
- java.lang.Object
-
- org.glassfish.jersey.internal.ContextResolverFactory.ContextResolversConfigurator
-
- All Implemented Interfaces:
BootstrapConfigurator
- Enclosing class:
- ContextResolverFactory
public static class ContextResolverFactory.ContextResolversConfigurator extends Object implements BootstrapConfigurator
Configurator which initializes and registerContextResolvers
instance intoInjectionManager
andBootstrapBag
.- Author:
- Petr Bouda
-
-
Constructor Summary
Constructors Constructor Description ContextResolversConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.void
postInit(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
Post-initialization method can get services fromInjectionManager
and is not able to register the new one because injection manager is already completed.
-
-
-
Method Detail
-
init
public void init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
Description copied from interface:BootstrapConfigurator
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.- Specified by:
init
in interfaceBootstrapConfigurator
- Parameters:
injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-
postInit
public void postInit(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
Description copied from interface:BootstrapConfigurator
Post-initialization method can get services fromInjectionManager
and is not able to register the new one because injection manager is already completed.- Specified by:
postInit
in interfaceBootstrapConfigurator
- Parameters:
injectionManager
- already completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-
-