@Contract @ConstrainedTo(value=SERVER) public interface ValueFactoryProvider
Modifier and Type | Interface and Description |
---|---|
static class |
ValueFactoryProvider.Priority
Enumeration of priorities for providers (e.g.
|
static interface |
ValueFactoryProvider.PriorityType
Priorities are intended to be used as a means to determine the order in which objects are considered whether they are
suitable for a particular action or not (e.g.
|
Modifier and Type | Method and Description |
---|---|
ValueFactoryProvider.PriorityType |
getPriority()
Gets the priority of this provider.
|
org.glassfish.hk2.api.Factory<?> |
getValueFactory(Parameter parameter)
Get an injected value factory for the parameter.
|
org.glassfish.hk2.api.Factory<?> getValueFactory(Parameter parameter)
null
in case the parameter is not supported by the value factory provider.parameter
- parameter requesting the value factory instance.null
if parameter
is not supported.ValueFactoryProvider.PriorityType getPriority()
ValueFactoryProvider.PriorityType
,
ValueFactoryProvider.Priority