Files
spring-batch/build/reference-epub-work/ch03s05.xhtml
Michael Minella 75ab909314 update
2017-03-23 10:18:33 -05:00

18 lines
1.5 KiB
HTML

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:pls="http://www.w3.org/2005/01/pronunciation-lexicon" xmlns:ssml="http://www.w3.org/2001/10/synthesis" xmlns:svg="http://www.w3.org/2000/svg"><head><title>JobLauncher</title><link rel="stylesheet" type="text/css" href="docbook-epub.css"/><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"/><link rel="prev" href="ch03s04.xhtml" title="JobRepository"/><link rel="next" href="ch03s06.xhtml" title="Item Reader"/></head><body><header/><section class="section" title="JobLauncher" epub:type="subchapter" id="domainJobLauncher"><div class="titlepage"><div><div><h2 class="title" style="clear: both">JobLauncher</h2></div></div></div>
<p><code class="classname">JobLauncher </code>represents a simple interface for
launching a <code class="classname">Job</code> with a given set of
<code class="classname">JobParameters</code>:</p>
<pre class="programlisting">public interface JobLauncher {
public JobExecution run(Job job, JobParameters jobParameters)
throws JobExecutionAlreadyRunningException, JobRestartException;
}</pre>
<p>It is expected that implementations will obtain a valid
<code class="classname">JobExecution</code> from the
<code class="classname">JobRepository</code> and execute the
<code class="classname">Job</code>.</p>
</section><footer/></body></html>