类 SimpleMethodInvoker
- java.lang.Object
- org.springframework.batch.support.SimpleMethodInvoker
- 所有已实现的接口:
MethodInvoker
public class SimpleMethodInvoker extends java.lang.Object implements MethodInvoker
Simple implementation of theMethodInvoker
interface that invokes a method on an object. If the method has no arguments, but arguments are provided, they are ignored and the method is invoked anyway. If there are more arguments than there are provided, then an exception is thrown.- 从以下版本开始:
- 2.0
- 作者:
- Lucas Ward
构造器概要
构造器 构造器 说明 SimpleMethodInvoker(java.lang.Object object, java.lang.reflect.Method method)
SimpleMethodInvoker(java.lang.Object object, java.lang.String methodName, java.lang.Class<?>... paramTypes)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.Object
invokeMethod(java.lang.Object... args)
构造器详细资料
SimpleMethodInvoker
public SimpleMethodInvoker(java.lang.Object object, java.lang.reflect.Method method)
SimpleMethodInvoker
public SimpleMethodInvoker(java.lang.Object object, java.lang.String methodName, java.lang.Class<?>... paramTypes)
方法详细资料
invokeMethod
public java.lang.Object invokeMethod(java.lang.Object... args)
- 指定者:
invokeMethod
在接口中MethodInvoker
equals
public boolean equals(java.lang.Object obj)
- 覆盖:
equals
在类中java.lang.Object
hashCode
public int hashCode()
- 覆盖:
hashCode
在类中java.lang.Object