Commit Graph

1707 Commits

Author SHA1 Message Date
dsyer
8cabd9544f BATCH-1284: fixed by using upgradeStatus in AbstractStep 2009-06-10 07:35:55 +00:00
dsyer
56e304ebcf RESOLVED - issue BATCH-1282: JobRegistryBeanProcessor skips jobs that in XML namespace unless they are injected as dependency
Used SmartFactoryBean
2009-06-08 14:27:45 +00:00
dsyer
9a7bdaa775 RESOLVED - issue BATCH-1280: JobParserJobFactoryBean should be a singleton
http://jira.springframework.org/browse/BATCH-1280
2009-06-05 10:17:57 +00:00
dhgarrette
602230cd67 BATCH-1275:
*Fixed assertions in afterPropertiesSet()
*Removed unnecessary converstion to List
*Pulled stepContext and jobContext out of the loop because they are invariants.
2009-06-05 01:43:57 +00:00
dsyer
5ec37d5d00 RESOLVED - issue BATCH-1272: Write skips do not work in a multi-threaded step
Fixed boolean logic in repeat callback
2009-06-04 16:59:19 +00:00
dsyer
20c9540c67 RESOLVED - issue BATCH-1272: Write skips do not work in a multi-threaded step
Fix problems with test case?
2009-06-04 16:40:50 +00:00
dsyer
290a2cb4ac RESOLVED - issue BATCH-1272: Write skips do not work in a multi-threaded step
Problems with test case?
2009-06-04 16:35:17 +00:00
dsyer
19a12f0036 RESOLVED - issue BATCH-1272: Write skips do not work in a multi-threaded step
http://jira.springframework.org/browse/BATCH-1272
2009-06-04 16:12:22 +00:00
dsyer
7b054c0360 OPEN - issue BATCH-1272: Write skips do not work in a multi-threaded step
Added some logging and a test case
2009-06-04 09:37:12 +00:00
dsyer
001226ea1d BATCH-1268: Use System.currentTimeMillis() 2009-06-03 15:57:50 +00:00
dsyer
132e29f37b RESOLVED - issue BATCH-1268: Remove dependency on commons lang
Up to a point - made it optional for Spring Core.
2009-06-03 15:07:40 +00:00
dhgarrette
5e060034b9 BATCH-1264: Ensure that defaults are not the responsibility of the StepParserStepFactoryBean 2009-06-02 13:46:31 +00:00
dsyer
bc9e97fe66 BATCH-1264: null pointer if transaction attributes partially specified 2009-06-02 11:11:13 +00:00
dsyer
685dd789de RESOLVED - issue BATCH-1256: Processor is called (and committed) many times for the same items if Writer skips
http://jira.springframework.org/browse/BATCH-1256
2009-06-01 10:36:55 +00:00
dsyer
f2514005ed RESOLVED BATCH-1260: Add NoSuchStepException 2009-05-31 16:33:59 +00:00
dhgarrette
001893bb8c Test cases for BATCH-1256 and BATCH-1259 2009-05-31 14:54:46 +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
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