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

15 lines
1.6 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>JobRepository</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="ch03s03.xhtml" title="ExecutionContext"/><link rel="next" href="ch03s05.xhtml" title="JobLauncher"/></head><body><header/><section class="section" title="JobRepository" epub:type="subchapter" id="domainJobRepository"><div class="titlepage"><div><div><h2 class="title" style="clear: both">JobRepository</h2></div></div></div>
<p><code class="classname">JobRepository</code> is the persistence mechanism
for all of the Stereotypes mentioned above. It provides CRUD operations
for <code class="classname">JobLauncher</code>, <code class="classname">Job</code>, and
<code class="classname">Step</code> implementations. When a
<code class="classname">Job</code> is first launched, a
<code class="classname">JobExecution</code> is obtained from the repository, and
during the course of execution <code class="classname">StepExecution</code> and
<code class="classname">JobExecution</code> implementations are persisted by
passing them to the repository:</p>
<pre class="programlisting">&lt;job-repository id="jobRepository"/&gt;</pre>
</section><footer/></body></html>