Package org.infinispan.cdi.common.util
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 ClassesModifier and TypeInterfaceDescriptionstatic classProvides the default parameter's value, along with metadata about the parameter to a parameter redefinition. -
Method Summary
Modifier and TypeMethodDescriptionCallback allowing the default parameter value (that which would be injected according to the CDI type safe resolution rules) to be overridden.
-
Method Details
-
redefineParameterValue
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
-