Interface ParameterValueRedefiner


public interface ParameterValueRedefiner
Provides the ability to redefine the value of a parameter on an InjectableMethod via the redefineParameterValue(ParameterValue) callback.
Author:
Pete Muir
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Provides the default parameter's value, along with metadata about the parameter to a parameter redefinition.
  • Method Summary

    Modifier and Type
    Method
    Description
    Callback allowing the default parameter value (that which would be injected according to the CDI type safe resolution rules) to be overridden.
  • Method Details

    • redefineParameterValue

      Object redefineParameterValue(ParameterValueRedefiner.ParameterValue value)
      Callback allowing the default parameter value (that which would be injected according to the CDI type safe resolution rules) to be overridden.
      Parameters:
      value - the default value
      Returns:
      the overridden value