org.apache.servicemix.bean.support
Class MethodInfo

java.lang.Object
  extended by org.apache.servicemix.bean.support.MethodInfo

public class MethodInfo
extends java.lang.Object

Version:
$Revision: $

Constructor Summary
MethodInfo(java.lang.reflect.Method method, org.apache.servicemix.expression.Expression parametersExpression)
           
 
Method Summary
 org.aopalliance.intercept.MethodInvocation createMethodInvocation(java.lang.Object pojo, javax.jbi.messaging.MessageExchange messageExchange)
           
protected  java.lang.Object invoke(java.lang.reflect.Method mth, java.lang.Object pojo, java.lang.Object[] arguments, javax.jbi.messaging.MessageExchange exchange)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInfo

public MethodInfo(java.lang.reflect.Method method,
                  org.apache.servicemix.expression.Expression parametersExpression)
Method Detail

createMethodInvocation

public org.aopalliance.intercept.MethodInvocation createMethodInvocation(java.lang.Object pojo,
                                                                         javax.jbi.messaging.MessageExchange messageExchange)
                                                                  throws javax.jbi.messaging.MessagingException
Throws:
javax.jbi.messaging.MessagingException

invoke

protected java.lang.Object invoke(java.lang.reflect.Method mth,
                                  java.lang.Object pojo,
                                  java.lang.Object[] arguments,
                                  javax.jbi.messaging.MessageExchange exchange)
                           throws java.lang.IllegalAccessException,
                                  java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException


Copyright © 2005-2011 FuseSource. All Rights Reserved.