Package org.infinispan.cdi.common.util
Class ParameterValueRedefiner.ParameterValue
java.lang.Object
org.infinispan.cdi.common.util.ParameterValueRedefiner.ParameterValue
- Enclosing interface:
- ParameterValueRedefiner
Provides the default parameter's value, along with metadata about the
parameter to a parameter redefinition.
- Author:
- Pete Muir
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultValue(javax.enterprise.context.spi.CreationalContext<?> creationalContext) Get the default value of the parameter.javax.enterprise.inject.spi.InjectionPointGet theInjectionPointfor the parameter.intGet the position of the parameter in the member's parameter list.
-
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 theInjectionPointfor the parameter.- Returns:
- the injection point
-
getDefaultValue
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
-