java.lang.Object
org.omnifaces.cdi.contextparam.ContextParamProducer
Producer for injecting a web.xml context parameter as defined by the ContextParam annotation.
- Since:
- 2.2
- Author:
- Bauke Scholtz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionproduce(InjectionPoint injectionPoint) Returns context parameter value associated with context parameter name derived from given injection point.
-
Constructor Details
-
ContextParamProducer
public ContextParamProducer()
-
-
Method Details
-
produce
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.
-