Commit Graph

1033 Commits

Author SHA1 Message Date
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
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
dsyer
926f61972f RESOLVED - issue BATCH-1196: ExecutionContext not re-hydrated by JdbcJobExecutionDao 2009-04-07 15:11:51 +00:00
dsyer
f708120524 OPEN - issue BATCH-1198: processSkipCount and filterCount mixed up 2009-04-07 11:46:31 +00:00
dsyer
f12edbb546 RESOLVED - issue BATCH-1197: Rerunning a job sometimes creates new job instance 2009-04-07 09:05:14 +00:00
dsyer
c4e02c9a4e RESOLVED - issue BATCH-1185: Job slows when step scope is used
http://jira.springframework.org/browse/BATCH-1185
2009-04-06 14:38:23 +00:00
dhgarrette
3ad828b771 BATCH-1132 & BATCH-1138: Removed default in xsd from abstract= attribute 2009-04-05 21:05:57 +00:00
dhgarrette
a686033674 BATCH-1181:
* Added test to make sure <step/> element's parent= attribute could reference a beans:bean
 * Some small cleanup
2009-04-05 20:49:28 +00:00
lucasward
17dd5bb3f4 BATCH-1150: Modified the StepExecutionPreparedStatementSetter to no longer implement StepExecutionListener. Also changed the name to ListPreparedStatementSetter. 2009-04-03 02:53:52 +00:00
dhgarrette
8ef418dfe3 BATCH-1189: By default, all exceptions should be fatal 2009-04-02 03:49:20 +00:00
dhgarrette
f0bba9c1c5 BATCH-1189: Added some unit tests 2009-04-02 03:48:18 +00:00
dhgarrette
3dc92be2ed BATCH-1189: By default, all exceptions should be fatal 2009-04-01 21:22:43 +00:00
dhgarrette
0660b7ed59 Updated javadocs with more information. 2009-04-01 16:40:05 +00:00
dhgarrette
6358cb2bf2 RESOLVED - BATCH-1184: DelegatingStep is not used. It should be removed. 2009-03-30 17:06:34 +00:00
dhgarrette
f8144a68aa BATCH-1183: Implement toString() on Step implementations 2009-03-30 14:39:15 +00:00
dhgarrette
246b1a61b6 BATCH-1183: Implement toString() on Step implementations 2009-03-30 14:29:19 +00:00
dhgarrette
aac13324df BATCH-1181: Updated xsd to use "xsd:all" for elements within a <tasklet/> 2009-03-30 04:56:17 +00:00