org.jboss.seam.solder.reflection.annotated
Class ParameterValueRedefiner.ParameterValue

java.lang.Object
  extended by org.jboss.seam.solder.reflection.annotated.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
 Object getDefaultValue(CreationalContext<?> creationalContext)
          Get the default value of the parameter.
 InjectionPoint getInjectionPoint()
          Get the InjectionPoint for the parameter.
 int getPosition()
          Get the position of the parameter in the member's parameter list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 InjectionPoint getInjectionPoint()
Get the InjectionPoint for the parameter.

Returns:
the injection point

getDefaultValue

public Object getDefaultValue(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


Copyright © 2011 Seam Framework. All Rights Reserved.