Package com.ibatis.common.beans
Class MethodInvoker
java.lang.Object
com.ibatis.common.beans.MethodInvoker
- All Implemented Interfaces:
Invoker
The Class MethodInvoker.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MethodInvoker
Instantiates a new method invoker.- Parameters:
method
- the method
-
-
Method Details
-
invoke
public Object invoke(Object target, Object[] args) throws IllegalAccessException, InvocationTargetException Description copied from interface:Invoker
Invoke.- Specified by:
invoke
in interfaceInvoker
- Parameters:
target
- the targetargs
- the args- Returns:
- the object
- Throws:
IllegalAccessException
- the illegal access exceptionInvocationTargetException
- the invocation target exception
-
getMethod
Gets the method.- Returns:
- the method
-
getName
Description copied from interface:Invoker
Gets the name.
-