Example usage for org.springframework.batch.support MethodInvokerUtils getMethodInvokerByName

List of usage examples for org.springframework.batch.support MethodInvokerUtils getMethodInvokerByName

Introduction

In this page you can find the example usage for org.springframework.batch.support MethodInvokerUtils getMethodInvokerByName.

Prototype

public static MethodInvoker getMethodInvokerByName(Object object, String methodName, boolean paramsRequired,
        Class<?>... paramTypes) 

Source Link

Document

Create a MethodInvoker using the provided method name to search.

Usage

From source file:org.springframework.batch.core.listener.AbstractListenerFactoryBean.java

protected MethodInvoker getMethodInvokerByName(String methodName, Object candidate, Class<?>... params) {
    if (methodName != null) {
        return MethodInvokerUtils.getMethodInvokerByName(candidate, methodName, false, params);
    } else {/*from w  w  w . ja va  2 s .com*/
        return null;
    }
}