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 Details

    • ParamProducer

      public ParamProducer()
  • Method Details

    • produce

      @Produces public <V> ParamValue<V> produce(InjectionPoint injectionPoint)
      Returns ParamValue associated with param name derived from given injection point.
      Type Parameters:
      V - The generic ParamValue type.
      Parameters:
      injectionPoint - Injection point to derive param name from.
      Returns:
      ParamValue associated with param name derived from given injection point.