Class MethodInvokingTaskletAdapter

java.lang.Object
org.springframework.batch.item.adapter.AbstractMethodInvokingDelegator<Object>
org.springframework.batch.core.step.tasklet.MethodInvokingTaskletAdapter
All Implemented Interfaces:
Tasklet, org.springframework.beans.factory.InitializingBean

public class MethodInvokingTaskletAdapter extends AbstractMethodInvokingDelegator<Object> implements Tasklet
A Tasklet that wraps a method in a POJO. By default the return value is ExitStatus.COMPLETED unless the delegate POJO itself returns an ExitStatus. The POJO method is usually going to have no arguments, but a static argument or array of arguments can be used by setting the arguments property.
Author:
Dave Syer, Mahmoud Ben Hassine
See Also: