- java.lang.Object
-
- org.omnifaces.cdi.contextparam.ContextParamProducer
-
@Dependent public class ContextParamProducer extends Object
Producer for injecting a
web.xml
context parameter as defined by theContextParam
annotation.- Since:
- 2.2
- Author:
- Bauke Scholtz
-
-
Constructor Summary
Constructors Constructor Description ContextParamProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
produce(InjectionPoint injectionPoint)
Returns context parameter value associated with context parameter name derived from given injection point.
-
-
-
Method Detail
-
produce
@Produces public String produce(InjectionPoint injectionPoint)
Returns context parameter value associated with context parameter name derived from given injection point.- Parameters:
injectionPoint
- Injection point to derive context parameter name from.- Returns:
- Context parameter value associated with context parameter name derived from given injection point.
-
-