org.apache.camel.component.bean
Class MethodInfo
java.lang.Object
org.apache.camel.component.bean.MethodInfo
public class MethodInfo
- extends Object
- Version:
- $Revision: 36321 $
MethodInfo
public MethodInfo(Class type,
Method method,
List<ParameterInfo> parameters,
List<ParameterInfo> bodyParameters,
boolean hasCustomAnnotation)
toString
public String toString()
- Overrides:
toString
in class Object
createMethodInvocation
public MethodInvocation createMethodInvocation(Object pojo,
Exchange messageExchange)
getType
public Class getType()
getMethod
public Method getMethod()
getParametersExpression
public Expression getParametersExpression()
getBodyParameters
public List<ParameterInfo> getBodyParameters()
getBodyParameterType
public Class getBodyParameterType()
bodyParameterMatches
public boolean bodyParameterMatches(Class bodyType)
getParameters
public List<ParameterInfo> getParameters()
hasBodyParameter
public boolean hasBodyParameter()
isHasCustomAnnotation
public boolean isHasCustomAnnotation()
invoke
protected Object invoke(Method mth,
Object pojo,
Object[] arguments,
Exchange exchange)
throws IllegalAccessException,
InvocationTargetException
- Throws:
IllegalAccessException
InvocationTargetException
createParametersExpression
protected Expression createParametersExpression()
Copyright © 2008 IONA Open Source Community. All Rights Reserved.