org.apache.camel.spring.util
Class DefaultMethodInvocationStrategy

java.lang.Object
  extended by org.apache.camel.spring.util.DefaultMethodInvocationStrategy
All Implemented Interfaces:
MethodInvocationStrategy

public class DefaultMethodInvocationStrategy
extends Object
implements MethodInvocationStrategy

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

Version:
$Revision:$

Constructor Summary
DefaultMethodInvocationStrategy()
           
 
Method Summary
 void addParameterMapping(Class parameterType, org.apache.camel.Expression expression)
          Adds a default parameter type mapping to an expression
 org.apache.camel.Expression getDefaultParameterTypeExpression(Class parameterType)
          Creates an invocation on the given POJO using annotations to decide which method to invoke and to figure out which parameters to use
 void loadDefaultRegistry()
          Creates an invocation on the given POJO using annotations to decide which method to invoke and to figure out which parameters to use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMethodInvocationStrategy

public DefaultMethodInvocationStrategy()
Method Detail

getDefaultParameterTypeExpression

public org.apache.camel.Expression getDefaultParameterTypeExpression(Class parameterType)
Description copied from interface: MethodInvocationStrategy
Creates an invocation on the given POJO using annotations to decide which method to invoke and to figure out which parameters to use

Specified by:
getDefaultParameterTypeExpression in interface MethodInvocationStrategy

addParameterMapping

public void addParameterMapping(Class parameterType,
                                org.apache.camel.Expression expression)
Adds a default parameter type mapping to an expression


loadDefaultRegistry

public void loadDefaultRegistry()
Creates an invocation on the given POJO using annotations to decide which method to invoke and to figure out which parameters to use



Copyright © 2007 Apache Software Foundation. All Rights Reserved.