@Singleton class EntityParamValueFactoryProvider extends AbstractValueFactoryProvider
Request
entity value or Request
instance
itself.Modifier and Type | Class and Description |
---|---|
private static class |
EntityParamValueFactoryProvider.EntityValueFactory |
ValueFactoryProvider.Priority, ValueFactoryProvider.PriorityType
Constructor and Description |
---|
EntityParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep,
org.glassfish.hk2.api.ServiceLocator injector)
Creates new instance initialized with parameters.
|
Modifier and Type | Method and Description |
---|---|
protected org.glassfish.hk2.api.Factory<?> |
createValueFactory(Parameter parameter)
Create a value factory for the parameter.
|
get, getLocator, getPriority, getValueFactory, getWithoutDefaultValue
@Inject EntityParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep, org.glassfish.hk2.api.ServiceLocator injector)
mpep
- Injected multivaluedParameterExtractor provider.injector
- Injected HK2 injector.protected org.glassfish.hk2.api.Factory<?> createValueFactory(Parameter parameter)
AbstractValueFactoryProvider
null
in case
the parameter is not supported by the value factory provider.createValueFactory
in class AbstractValueFactoryProvider
parameter
- parameter requesting the value factory instance.null
if parameter is
not supported.