public class ValueParamProviderConfigurator extends java.lang.Object implements BootstrapConfigurator
ValueParamProvider
instances into InjectionManager
and
BootstrapBag
.Constructor and Description |
---|
ValueParamProviderConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
init(InjectionManager injectionManager,
BootstrapBag bootstrapBag)
Pre-initialization method should only register services into
InjectionManager and populate BootstrapBag . |
void |
postInit(InjectionManager injectionManager,
BootstrapBag bootstrapBag)
Post-initialization method can get services from
InjectionManager 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) |
public void init(InjectionManager injectionManager, BootstrapBag bootstrapBag)
BootstrapConfigurator
InjectionManager
and populate BootstrapBag
.init
in interface BootstrapConfigurator
injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.private void registerResolver(InjectionManager im, ValueParamProvider vfp, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, javax.inject.Provider<ContainerRequest> request)
public void postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
BootstrapConfigurator
InjectionManager
and is not able to register the new one because
injection manager is already completed.postInit
in interface BootstrapConfigurator
injectionManager
- already completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.