Package org.infinispan.cdi.common.util
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:
ParameterValueRedefiner,InjectableMethod
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDefaultValue(javax.enterprise.context.spi.CreationalContext<?> creationalContext)Get the default value of the parameter.javax.enterprise.inject.spi.InjectionPointgetInjectionPoint()Get theInjectionPointfor the parameter.intgetPosition()Get the position of the parameter in the member's parameter list.
-
-
-
Method Detail
-
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 theInjectionPointfor 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
-
-