Package org.omnifaces.cdi.param
Class ParamProducer
- java.lang.Object
-
- org.omnifaces.cdi.param.ParamProducer
-
@Dependent public class ParamProducer extends Object
Producer for a request or path parameter as defined by the@
Param
annotation.- Since:
- 1.6
- Author:
- Arjan Tijms
-
-
Constructor Summary
Constructors Constructor Description ParamProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> ParamValue<V>
produce(InjectionPoint injectionPoint)
ReturnsParamValue
associated with param name derived from given injection point.
-
-
-
Method Detail
-
produce
@Produces public <V> ParamValue<V> produce(InjectionPoint injectionPoint)
ReturnsParamValue
associated with param name derived from given injection point.- Type Parameters:
V
- The genericParamValue
type.- Parameters:
injectionPoint
- Injection point to derive param name from.- Returns:
ParamValue
associated with param name derived from given injection point.
-
-