Commit Graph

1857 Commits

Author SHA1 Message Date
dhgarrette
001893bb8c Test cases for BATCH-1256 and BATCH-1259 2009-05-31 14:54:46 +00:00
dsyer
955045ed97 BATCH-1258: remove with-dependencies assembly from build 2009-05-31 08:22:02 +00:00
dhgarrette
77b349e1c1 More clean up of FaultTolerantStepFactoryBean*Tests 2009-05-30 16:02:05 +00:00
dsyer
db1f7fc35b RESOLVED - issue BATCH-1255: Proxy with no target cannot be analysed for listener interfaces
http://jira.springframework.org/browse/BATCH-1255
2009-05-30 09:34:18 +00:00
dhgarrette
a7f8988422 Extract common inner-classes from FaultTolerantStepFactoryBean*Tests 2009-05-30 00:27:29 +00:00
dsyer
86bb669d76 Add Javadocs 2009-05-29 07:07:03 +00:00
dsyer
96e81afd7b Update site for 2.0.1 2009-05-28 17:01:16 +00:00
dsyer
cfb9d16d39 Move ivy build to conventional location 2009-05-28 12:24:16 +00:00
dsyer
ffaef35e34 switch over to Maven Central style dependencies 2009-05-28 11:56:48 +00:00
dhgarrette
65ca7ea129 BATCH-1250: <job/> should disallow <decision/>, <split/>, and <step/> if abstract="true" 2009-05-27 17:32:11 +00:00
dhgarrette
24ecb523e9 BATCH-1216: Add throttle-limit to <chunk/> 2009-05-27 02:30:38 +00:00
dhgarrette
3005e6a810 BATCH-1213:
*Removed isAbstractStep() from BeanDefinitionUtils.  The formulation "beanFactory.isTypeMatch(beanName, AbstractStep.class)" should be used instead because it will automatically check the resultant type of a FactoryBean as well.
 *Changed *StepFactoryBean's getObjectType() to return TaskletStep.class, which is the most specific class name for the resulting object.  This allows BeanFactory.isTypeMatch() to to recognize the factory bean's output properly.
 *Renamed CoreNamespaceBeanDefinitionUtils to BeanDefinitionUtils since it is no longer specific to the core namespace.
2009-05-23 16:32:12 +00:00
dhgarrette
da58dfc835 BATCH-1213:
*Code cleanup of CoreNamespacePostProcessor and CoreNamespaceBeanDefinitionUtils.
 *Ensure that steps defined with the batch namespace always use StepParseStepFactoryBean
 *Additional unit tests for the behavior of mixed hierarchies of batch and beans namespace defined steps
2009-05-23 15:07:11 +00:00
dsyer
6db366cf67 BATCH-1213: tidied up BeanDefinition handling 2009-05-22 06:41:06 +00:00
dhgarrette
b7e6150453 RESOLVED - BATCH-1248: Removed default from "merge" attribute in XSD 2009-05-22 01:13:10 +00:00
dhgarrette
ded9ede29e BATCH-1213: Added test to ensure that if a <step/> with a <tasklet/> will always be a StepParserStepFactoryBean, even if its parent has a different class declared. 2009-05-22 00:41:13 +00:00
dhgarrette
232f2a0644 removed unused import 2009-05-21 22:03:52 +00:00
dhgarrette
d6844b6d23 BATCH-1213: Moved reusable BeanFactoryPostProcessor functionality into a new utility class CoreNamespaceBeanDefinitionUtils 2009-05-21 22:02:50 +00:00
dhgarrette
2514f32860 minor cleanup 2009-05-20 23:49:18 +00:00
dhgarrette
2c56a1b0c2 BATCH-1213: Added check in CoreNamespacePostProcessor to ensure that the parent of a <step/> does not have to be an AbstractStep 2009-05-20 23:47:49 +00:00
dhgarrette
9bdfdcbc43 BATCH-1213: Defaults in xsd override parent attributes
*Introduced CoreNamespacePostProcessor to handle injection of JobRepository and TransactionManager onto jobs and steps defined using the namespace.
 *Introduced JobParserJobFactoryBean used to instantiate a FlowJob via the namespace.
 *Modified defaulting behavior of jobRepository attribute.  Job's jobRepository now always overrides the Step's.
2009-05-18 23:54:18 +00:00
dhgarrette
a5ac07b26f BATCH-1213: Removed "literal" (non-reference) defaults from the XSD. 2009-05-16 00:40:20 +00:00
dsyer
d6c6d1ba05 OPEN - issue BATCH-1240: ItemStream is not registered when defined in step scope
Added test cases.
2009-05-13 11:11:48 +00:00
dsyer
b569b8419f RESOLVED BATCH-1218: add CompositeItemStream to ChunkMonitor. 2009-05-12 10:42:02 +00:00
dsyer
51c7a96369 BATCH-1208: add unit test 2009-05-06 12:31:48 +00:00
dsyer
19dee310c6 RESOLVED - issue BATCH-1230: scope "step" does not work together with Annotation "@BeforeStep" 2009-05-04 11:21:34 +00:00
dsyer
0b17684192 BATCH-1228: use proxyTargetClass=true in proxy 2009-05-04 08:25:29 +00:00
dsyer
ad57752def BATCH-1228: use proxyTargetClass=true in proxy 2009-05-04 08:18:17 +00:00
dsyer
523a2d48c3 BATCH-1228: added setter for proxyTargetClass 2009-05-03 06:48:59 +00:00
dsyer
0fd6da7127 RESOLVED - issue BATCH-1214: CoreNamespaceUtils.addRangePropertyEditor fails with Spring 3.0 2009-04-29 14:32:38 +00:00
dsyer
1d1d0b85ca BATCH-1218: changed instanceof to == 2009-04-27 13:03:33 +00:00
dhgarrette
0bcc36927b BATCH-1208: Modified PlaceholderTargetSource to remove the path from resolveStringValue() that handles values that start with "#{" and end with "}". This was causing problems for values like "#{run.id}" or "#{integer}-#{integer}" where replacements were expected. The special path was added to handle references, where a replacement should not take place. Since a replacement is not expected, removing the path caused an exception to be thrown to indicate that no replacement had occurred. This exception was changed to a logging statement to allow this case. 2009-04-23 22:52:13 +00:00
dsyer
4de51829bb RESOLVED - issue BATCH-1210: AbstractStep overwrites custom exit status for STOPPED steps
Tweaked exit status handling again in AbstractStep
2009-04-16 14:08:57 +00:00
dsyer
d41bdbee62 RESOLVED - issue BATCH-1210: AbstractStep overwrites custom exit status for STOPPED steps
Need a less severe default status for stopping with an exception
2009-04-16 11:20:11 +00:00
dsyer
50cda6b170 RESOLVED - issue BATCH-1210: AbstractStep overwrites custom exit status for STOPPED steps 2009-04-16 11:12:49 +00:00
dhgarrette
02290b366d BATCH-1150: Added test for using ListPreparedStatementSetter in xml configuration 2009-04-15 17:29:20 +00:00
dhgarrette
ff4bf40fe6 BATCH-1205: Added tests for commit interval 2009-04-14 16:47:07 +00:00
dsyer
12710566c8 RESOLVED - issue BATCH-1172: Register RangeArrayPropertyEditor automatically
http://jira.springframework.org/browse/BATCH-1172
2009-04-13 11:52:20 +00:00
dsyer
5d303c6102 RESOLVED - issue BATCH-1202: Improve error message when neither commit-interval nor chunk-completion-policy are specified on a chuck (xml namespace) 2009-04-13 11:44:52 +00:00
dsyer
b64b9d8b7c BATCH-1203: Javadocs 2009-04-13 11:39:44 +00:00
dsyer
2e7f38a6a8 [maven-release-plugin] prepare for next development iteration 2009-04-10 16:27:47 +00:00
dsyer
cd4d2d61be [maven-release-plugin] prepare release 2.0.0.RELEASE 2009-04-10 16:26:37 +00:00
dsyer
09f8f5eba7 Fix Spring Build classpath crap 2009-04-09 20:43:32 +00:00
dhgarrette
7e37d548b5 BATCH-1172: Register RangeArrayPropertyEditor automatically
*New method addRangePropertyEditor() added to CoreNamespaceUtils
   *Called by JobParser and TopLevelStepParser
   *Registers a new CustomEditorConfigurer if no CustomEditorConfigurer currently exists with an entry for Range[]
2009-04-09 20:15:54 +00:00
dsyer
82bc42d102 RESOLVED - issue BATCH-1187: Step shouldn't exit with status=EXECUTING
AbstractStep now sets the ExitStatus (by ANDing with the existing value), so a Tasklet does not have to set it manually.
2009-04-09 11:51:31 +00:00
lucasward
d6744b0be9 Updated javadocs where necessary. 2009-04-08 18:39:21 +00:00
dhgarrette
ea0d5ef95f RESOLVED - BATCH-1200: Update JavaDocs for Listener Annotations 2009-04-08 17:09:37 +00:00
dhgarrette
f306e9e83e RESOLVED - BATCH-1201: Listener Annotations don't allow parameters to be subtypes of expected types 2009-04-08 15:46:40 +00:00
dsyer
47d4afd964 RESOLVED - issue BATCH-1199: Makes SimpleJobLauncher default implementation in CommandLineJobRunner
Add clearer error message
2009-04-08 13:00:47 +00:00
dsyer
ffd11dd427 RESOLVED - issue BATCH-1095: Optionally throw exception if late binding fails 2009-04-07 15:54:52 +00:00