@Singleton final class BeanParamValueFactoryProvider extends AbstractValueFactoryProvider
bean parameters.| Modifier and Type | Class and Description |
|---|---|
private static class |
BeanParamValueFactoryProvider.BeanParamValueFactory |
(package private) static class |
BeanParamValueFactoryProvider.InjectionResolver
Injection resolver for bean parameters. |
ValueFactoryProvider.Priority, ValueFactoryProvider.PriorityType| Modifier and Type | Field and Description |
|---|---|
private org.glassfish.hk2.api.ServiceLocator |
locator |
| Constructor and Description |
|---|
BeanParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep,
org.glassfish.hk2.api.ServiceLocator injector)
Creates new instance initialized from parameters injected by HK2.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractContainerRequestValueFactory<?> |
createValueFactory(Parameter parameter)
Create a value factory for the parameter.
|
get, getLocator, getPriority, getValueFactory, getWithoutDefaultValue@Inject public BeanParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep, org.glassfish.hk2.api.ServiceLocator injector)
mpep - Multivalued parameter extractor provider.injector - HK2 Service locator.public AbstractContainerRequestValueFactory<?> createValueFactory(Parameter parameter)
AbstractValueFactoryProvidernull in case
the parameter is not supported by the value factory provider.createValueFactory in class AbstractValueFactoryProviderparameter - parameter requesting the value factory instance.null if parameter is
not supported.