org.apache.camel.component.bean
Class DefaultParameterMappingStrategy

java.lang.Object
  extended by org.apache.camel.component.bean.DefaultParameterMappingStrategy
All Implemented Interfaces:
ParameterMappingStrategy

public class DefaultParameterMappingStrategy
extends Object
implements ParameterMappingStrategy

Represents the strategy used to figure out how to map a message exchange to a POJO method invocation

Version:

Constructor Summary
DefaultParameterMappingStrategy()
           
 
Method Summary
 void addParameterMapping(Class<?> parameterType, Expression expression)
          Adds a default parameter type mapping to an expression
 Expression getDefaultParameterTypeExpression(Class<?> parameterType)
          Gets an expression used for evaluation with the current Exchange and its result is used as parameter value for the given type
 void loadDefaultRegistry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultParameterMappingStrategy

public DefaultParameterMappingStrategy()
Method Detail

getDefaultParameterTypeExpression

public Expression getDefaultParameterTypeExpression(Class<?> parameterType)
Description copied from interface: ParameterMappingStrategy
Gets an expression used for evaluation with the current Exchange and its result is used as parameter value for the given type

Specified by:
getDefaultParameterTypeExpression in interface ParameterMappingStrategy
Parameters:
parameterType - the parameter type
Returns:
the expression to evaluate as value

addParameterMapping

public void addParameterMapping(Class<?> parameterType,
                                Expression expression)
Adds a default parameter type mapping to an expression


loadDefaultRegistry

public void loadDefaultRegistry()


Apache CAMEL