Class ParameterValueRedefiner.ParameterValue

java.lang.Object
org.infinispan.cdi.common.util.ParameterValueRedefiner.ParameterValue
Enclosing interface:
ParameterValueRedefiner

public static class ParameterValueRedefiner.ParameterValue extends Object
Provides the default parameter's value, along with metadata about the parameter to a parameter redefinition.
Author:
Pete Muir
See Also:
  • Method Details

    • getPosition

      public int getPosition()
      Get the position of the parameter in the member's parameter list.
      Returns:
      the position of the parameter
    • getInjectionPoint

      public javax.enterprise.inject.spi.InjectionPoint getInjectionPoint()
      Get the InjectionPoint for the parameter.
      Returns:
      the injection point
    • getDefaultValue

      public Object getDefaultValue(javax.enterprise.context.spi.CreationalContext<?> creationalContext)
      Get the default value of the parameter. The default value is that which would be injected according to the CDI type safe resolution rules.
      Parameters:
      creationalContext - the creationalContext to use to obtain the injectable reference.
      Returns:
      the default value