@Contract @ConstrainedTo(value=SERVER) public interface ValueParamProvider
Modifier and Type | Interface and Description |
---|---|
static class |
ValueParamProvider.Priority
Enumeration of priorities for providers (e.g.
|
static interface |
ValueParamProvider.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. providing a service like creating a value supplier for an injectable
parameter).
|
Modifier and Type | Method and Description |
---|---|
ValueParamProvider.PriorityType |
getPriority()
Gets the priority of this provider.
|
Function<ContainerRequest,?> |
getValueProvider(Parameter parameter)
Get an injected value provider for the parameter.
|
Function<ContainerRequest,?> getValueProvider(Parameter parameter)
null
in case the parameter is not supported by the value provider.parameter
- parameter requesting the value provider instance.null
if parameter is not supported.ValueParamProvider.PriorityType getPriority()
ValueParamProvider.PriorityType
,
ValueParamProvider.Priority
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.