Class ContextParamProducer


  • @Dependent
    public class ContextParamProducer
    extends Object

    Producer for injecting a web.xml context parameter as defined by the ContextParam annotation.

    Since:
    2.2
    Author:
    Bauke Scholtz
    • Constructor Detail

      • ContextParamProducer

        public ContextParamProducer()
    • 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.