Class ValueParamProviderConfigurator
- java.lang.Object
-
- org.glassfish.jersey.server.internal.inject.ValueParamProviderConfigurator
-
- All Implemented Interfaces:
BootstrapConfigurator
public class ValueParamProviderConfigurator extends java.lang.Object implements BootstrapConfigurator
Configurator which initializes and registerValueParamProvider
instances intoInjectionManager
andBootstrapBag
.
-
-
Constructor Summary
Constructors Constructor Description ValueParamProviderConfigurator()
-
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
.void
postInit(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.private void
registerResolver(InjectionManager im, ValueParamProvider vfp, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, javax.inject.Provider<ContainerRequest> request)
-
-
-
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
.- Specified by:
init
in interfaceBootstrapConfigurator
- Parameters:
injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-
registerResolver
private void registerResolver(InjectionManager im, ValueParamProvider vfp, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, javax.inject.Provider<ContainerRequest> request)
-
postInit
public void postInit(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.
-
-