Tabnine Logo
MethodInvokingTaskletAdapter.invokeDelegateMethod
Code IndexAdd Tabnine to your IDE (free)

How to use
invokeDelegateMethod
method
in
org.springframework.batch.core.step.tasklet.MethodInvokingTaskletAdapter

Best Java code snippets using org.springframework.batch.core.step.tasklet.MethodInvokingTaskletAdapter.invokeDelegateMethod (Showing top 5 results out of 315)

origin: spring-projects/spring-batch

/**
 * Delegate execution to the target object and translate the return value to
 * an {@link ExitStatus} by invoking a method in the delegate POJO. Ignores
 * the {@link StepContribution} and the attributes.
 *
 * @see Tasklet#execute(StepContribution, ChunkContext)
 */
@Override
public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
  if (getArguments() == null) {
    setArguments(new Object[]{contribution, chunkContext});
  }
  contribution.setExitStatus(mapResult(invokeDelegateMethod()));
  return RepeatStatus.FINISHED;
}
origin: org.springframework.batch/org.springframework.batch.core

/**
 * Delegate execution to the target object and translate the return value to
 * an {@link ExitStatus} by invoking a method in the delegate POJO. Ignores
 * the {@link StepContribution} and the attributes.
 * 
 * @see Tasklet#execute(StepContribution, ChunkContext)
 */
public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
  contribution.setExitStatus(mapResult(invokeDelegateMethod()));
  return RepeatStatus.FINISHED;
}
origin: org.springframework.batch.core/org.motechproject.org.springframework.batch.core

/**
 * Delegate execution to the target object and translate the return value to
 * an {@link ExitStatus} by invoking a method in the delegate POJO. Ignores
 * the {@link StepContribution} and the attributes.
 *
 * @see Tasklet#execute(StepContribution, ChunkContext)
 */
@Override
public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
  contribution.setExitStatus(mapResult(invokeDelegateMethod()));
  return RepeatStatus.FINISHED;
}
origin: apache/servicemix-bundles

/**
 * Delegate execution to the target object and translate the return value to
 * an {@link ExitStatus} by invoking a method in the delegate POJO. Ignores
 * the {@link StepContribution} and the attributes.
 *
 * @see Tasklet#execute(StepContribution, ChunkContext)
 */
@Override
public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
  if (getArguments() == null) {
    setArguments(new Object[]{contribution, chunkContext});
  }
  contribution.setExitStatus(mapResult(invokeDelegateMethod()));
  return RepeatStatus.FINISHED;
}
origin: org.springframework.batch/spring-batch-core

/**
 * Delegate execution to the target object and translate the return value to
 * an {@link ExitStatus} by invoking a method in the delegate POJO. Ignores
 * the {@link StepContribution} and the attributes.
 *
 * @see Tasklet#execute(StepContribution, ChunkContext)
 */
@Override
public RepeatStatus execute(StepContribution contribution, ChunkContext chunkContext) throws Exception {
  if (getArguments() == null) {
    setArguments(new Object[]{contribution, chunkContext});
  }
  contribution.setExitStatus(mapResult(invokeDelegateMethod()));
  return RepeatStatus.FINISHED;
}
org.springframework.batch.core.step.taskletMethodInvokingTaskletAdapterinvokeDelegateMethod

Popular methods of MethodInvokingTaskletAdapter

  • mapResult
    If the result is an ExitStatus already just return that, otherwise return ExitStatus#COMPLETED.
  • getArguments
  • setArguments
  • <init>
  • execute
    Delegate execution to the target object and translate the return value to an ExitStatus by invoking
  • setTargetMethod
  • setTargetObject

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now