com.ibatis.common.beans
Class MethodInvoker

java.lang.Object
  extended by com.ibatis.common.beans.MethodInvoker
All Implemented Interfaces:
Invoker

public class MethodInvoker
extends java.lang.Object
implements Invoker


Constructor Summary
MethodInvoker(java.lang.reflect.Method method)
           
 
Method Summary
 java.lang.reflect.Method getMethod()
           
 java.lang.String getName()
           
 java.lang.Object invoke(java.lang.Object target, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvoker

public MethodInvoker(java.lang.reflect.Method method)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object target,
                               java.lang.Object[] args)
                        throws java.lang.IllegalAccessException,
                               java.lang.reflect.InvocationTargetException
Specified by:
invoke in interface Invoker
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

getMethod

public java.lang.reflect.Method getMethod()

getName

public java.lang.String getName()
Specified by:
getName in interface Invoker