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 register
ContextResolvers instance into InjectionManager and
BootstrapBag.- Author:
- Petr Bouda
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.voidpostInit(InjectionManager injectionManager, BootstrapBag bootstrapBag) Post-initialization method can get services fromInjectionManagerand is not able to register the new one because injection manager is already completed.
-
Constructor Details
-
ContextResolversConfigurator
public ContextResolversConfigurator()
-
-
Method Details
-
init
Description copied from interface:BootstrapConfiguratorPre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.- Specified by:
initin interfaceBootstrapConfigurator- Parameters:
injectionManager- not completed injection manager.bootstrapBag- bootstrap bag with services used in following processing.
-
postInit
Description copied from interface:BootstrapConfiguratorPost-initialization method can get services fromInjectionManagerand is not able to register the new one because injection manager is already completed.- Specified by:
postInitin interfaceBootstrapConfigurator- Parameters:
injectionManager- already completed injection manager.bootstrapBag- bootstrap bag with services used in following processing.
-