org.apache.camel.component.bean
Class MethodInfo

java.lang.Object
  extended by org.apache.camel.component.bean.MethodInfo

public class MethodInfo
extends Object

Version:
$Revision: 36321 $

Constructor Summary
MethodInfo(Class type, Method method, List<ParameterInfo> parameters, List<ParameterInfo> bodyParameters, boolean hasCustomAnnotation)
           
 
Method Summary
 boolean bodyParameterMatches(Class bodyType)
           
 MethodInvocation createMethodInvocation(Object pojo, Exchange messageExchange)
           
protected  Expression createParametersExpression()
           
 List<ParameterInfo> getBodyParameters()
           
 Class getBodyParameterType()
           
 Method getMethod()
           
 List<ParameterInfo> getParameters()
           
 Expression getParametersExpression()
           
 Class getType()
           
 boolean hasBodyParameter()
           
protected  Object invoke(Method mth, Object pojo, Object[] arguments, Exchange exchange)
           
 boolean isHasCustomAnnotation()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodInfo

public MethodInfo(Class type,
                  Method method,
                  List<ParameterInfo> parameters,
                  List<ParameterInfo> bodyParameters,
                  boolean hasCustomAnnotation)
Method Detail

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.