BATCH-1001: applied changes from the patch to set restartable to true as default

This commit is contained in:
trisberg
2009-01-23 15:49:12 +00:00
parent 92890da76e
commit baff82b057
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2007 the original author or authors.
* Copyright 2006-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -56,7 +56,7 @@ public abstract class AbstractJob implements Job, BeanNameAware, InitializingBea
private String name;
private boolean restartable = false;
private boolean restartable = true;
private JobRepository jobRepository;

View File

@@ -49,7 +49,7 @@
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="restartable" type="xsd:string"
default="false" use="optional">
default="true" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
Whether the job should be retartable or not in case of failure.