Commit Graph

197 Commits

Author SHA1 Message Date
lucasward
7cd8bfdef6 BATCH-335 and BATCH-316: As part of the documentation efforts of RC1, the DrivingQueryItemReader has had javadoc updates. Specifically, the MultipleColumnJdbcKeyGenerator, which has been a source of confusion, has had it's javadocs beefed up.
The KeyGenerator interface was also renamed to KeyCollector.  The issue was raised that it's not actually generating keys, but rather collecting them from the database.
2008-03-10 19:38:56 +00:00
lucasward
fe80f966c7 Renamed FlatFileItemWriter.setFieldSetUnMapper to FlatFileItemWriter.setFieldSetCreator 2008-03-10 16:02:22 +00:00
dsyer
6096052ca7 [BATCH-429] remove empty execution sub-package 2008-03-09 09:05:20 +00:00
robokaso
ed6f991a76 RESOLVED - BATCH-434 and BATCH-438 ExitStatus cleaned up (postponed commit from friday) 2008-03-08 20:40:19 +00:00
dsyer
b44da1c996 Complete - task 89: Resurrect Quartz sample
Add unit test for JobLauncherDetails
2008-03-07 18:58:20 +00:00
nebhale
bfb9447d6b [BATCH-429] Moved all code out of execution 2008-03-07 16:02:22 +00:00
nebhale
c1887cdd9c [BATCH-430] Rearranged package structure to remove technical packages 2008-03-07 14:56:10 +00:00
nebhale
609ce9d347 [BATCH-430] Removed the batch.io.exception package and moved classes to their approved locations 2008-03-07 14:18:49 +00:00
nebhale
b2396b3ef4 [BATCH-430] Created an item.adapter package and moved adapter implementations there. 2008-03-07 13:27:40 +00:00
nebhale
48195945ee [BATCH-430] Incremental commit of io package moving 2008-03-07 12:55:27 +00:00
nebhale
8c2901093e [BATCH-430] Incremental commit of exception moving 2008-03-07 11:54:20 +00:00
nebhale
f02f6aa842 Adding SerialVersionUID warning ignore to the default Eclipse behavior for each project 2008-03-07 10:11:41 +00:00
dsyer
f5e85d5f63 Change svn:eol-style to LF 2008-03-06 21:59:13 +00:00
dsyer
ce33690a89 OPEN - issue BATCH-409: StatefulRetryStepFactoryBean needs to co-ordinate exception handler with retry policy
http://jira.springframework.org/browse/BATCH-409

Use retryLimit and exception types instead of retry policy - in the spirit of a factory bean being easy to configure for typical use cases.
2008-03-06 18:14:20 +00:00
dsyer
1a48321d37 Classpath meta data tidied 2008-03-06 17:37:31 +00:00
dsyer
915997cd28 RESOLVED - issue BATCH-76: ItemWriter for SQL batch updates
http://jira.springframework.org/browse/BATCH-76
2008-03-06 13:19:55 +00:00
robokaso
1184d30d54 IN PROGRESS - issue BATCH-382: FlatFileItemWriter and StaxEventItemWriter should buffer output
http://jira.springframework.org/browse/BATCH-382

javadoc fix
2008-03-06 13:09:47 +00:00
robokaso
4df44a88fa IN PROGRESS - issue BATCH-382: FlatFileItemWriter and StaxEventItemWriter should buffer output
http://jira.springframework.org/browse/BATCH-382

cleaned up stax writer and tests
2008-03-06 12:22:48 +00:00
robokaso
52046cb0dc IN PROGRESS - issue BATCH-382: FlatFileItemWriter and StaxEventItemWriter should buffer output
http://jira.springframework.org/browse/BATCH-382

basic buffering for StaxEventItemWriter
2008-03-06 09:52:45 +00:00
dsyer
f2ae3f05b9 RESOLVED - issue BATCH-427: Another example of dual extends and implements
http://jira.springframework.org/browse/BATCH-427
2008-03-06 08:25:58 +00:00
robokaso
840d30426a IN PROGRESS - issue BATCH-412: consistent ItemStream key prefixes
http://jira.springframework.org/browse/BATCH-412

all keys made private (not referenced outside tests)
2008-03-05 12:22:31 +00:00
robokaso
2aa867c535 IN PROGRESS - issue BATCH-412: consistent ItemStream key prefixes
http://jira.springframework.org/browse/BATCH-412

added ExecutionContextUserSupport class as superclass for those who need to save data into ExecutionContext - removes the tons of copy-pastes used to handle naming and unique key generation
2008-03-05 10:28:48 +00:00
lucasward
a7fe4db96e BATCH-413: Added a more specific exception type for when an item reader doesn't find any work. 2008-03-04 19:32:49 +00:00
dsyer
6e5e60af64 Use threshold = 2 for test (non-trivial limit). 2008-03-04 19:15:43 +00:00
lucasward
77b6a7c34c BATCH-413: DrivingQueryItemReader now throws an exception if no keys are returned from the KeyGenerator. 2008-03-04 19:14:38 +00:00
dsyer
f22e8d04b7 Javadocs for HibernateAwareItemWriter tidied up. 2008-03-04 14:50:15 +00:00
dsyer
f73ce3553c RESOLVED - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Tidied up listener registration and integration a bit
2008-03-04 13:16:18 +00:00
nebhale
2e7c457ef9 [maven-release-plugin] prepare for next development iteration 2008-03-04 10:33:49 +00:00
nebhale
ba18633306 [maven-release-plugin] prepare release spring-batch-1.0.0.m5 2008-03-04 10:33:29 +00:00
robokaso
c42a6ea147 RESOLVED - issue BATCH-393: DefaultFieldSet should not always trim whitespace from the value returned
http://jira.springframework.org/browse/BATCH-393

added readRawString(int) and readRawString(String) methods to FieldSet interface
2008-03-04 10:17:07 +00:00
lucasward
93760bd298 BATCH-407:Added repository factory to samples and created a factory for incrementers for that logic to obtain them could be unit tested. Also renamed SimpelJobRepositoryFactoryBean to just JobRepositoryFactoryBean 2008-03-03 20:23:14 +00:00
dsyer
379f2fe826 RESOLVED - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

ItemProcessor -> ItemHandler.
2008-03-03 18:01:02 +00:00
dsyer
cb3c567966 RESOLVED - issue BATCH-231: Chunk completion policy
http://jira.springframework.org/browse/BATCH-231

Added RepeatOperationsStepFactoryBean.
2008-03-03 09:16:06 +00:00
lucasward
fe9c210fa4 BATCH-378: Added code to ensure that afterStep is called at the correct time.
Also removed ExitStatusExceptionClassifier in favor of using the ExitStatus of the last executed StepExecution within SimpleJob
2008-03-03 05:00:27 +00:00
dsyer
bbeeee32d3 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Let the factory bean take care of chunk and item listener callbacks.  ItemOrientedStep is much simpler as a result.
2008-03-02 15:03:12 +00:00
dsyer
108c21b187 OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

New flag on DefaultStepFactoryBean for item skip policy (alwaysSkip=false is the default).
2008-03-02 12:04:12 +00:00
dsyer
40f5349c0e OPEN - issue BATCH-404: FactoryBeans for step configuration
http://jira.springframework.org/browse/BATCH-404

Introduce (as temporary measure) KitchenSinkStepFactoryBean.
2008-03-02 09:38:01 +00:00
dsyer
b89a68dfeb Incomplete - task 87: Refactor KeyedItemReader
Split off from ItemReader interface.
2008-03-01 15:24:06 +00:00
dsyer
b47a6e6405 Tidy up some exception class names 2008-03-01 11:59:33 +00:00
dsyer
90cb1e8ea3 Rename some packages with more logical names 2008-03-01 10:24:28 +00:00
dsyer
e5f4413101 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Fix hibernate aware item writer - no need for listener interface now that ItemWRiter has flush/clear
2008-02-29 16:15:52 +00:00
dsyer
fca1e65bdd Upgrade to Spring 2.5.2 2008-02-29 14:05:43 +00:00
dsyer
256574358b OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Last delegating ItemStream tidied up.
2008-02-29 13:27:34 +00:00
dsyer
a1daad39f8 OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

removed delegate calls to ItemStream in favour of direct registration
2008-02-29 13:04:18 +00:00
dsyer
9167c7de4c OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Add listener multicaster to ItemOrientedStep
2008-02-28 19:25:15 +00:00
dsyer
add7b2f806 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Change contract of StepListener - JobParameters are more useful at that stage than ExecutionContext.
2008-02-28 15:44:51 +00:00
dsyer
e9d74d0088 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Replace RepeatListener with StepListener in TaskletStep.
2008-02-28 14:23:24 +00:00
dsyer
2a25a7a636 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Remove unnecessary listener implementations and migrate some functionality to samples.  In the process discovered that tasklet steps cannot be stopped.
2008-02-28 11:41:49 +00:00
dsyer
707e94b3c8 OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378

Slim down StremManager
2008-02-28 10:05:08 +00:00
dsyer
425c270da3 OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Make Job responsible for setting up step context.  Javadocs on StepContext to indicate that the attributes are volatile.  Add JobParametersAware (might be temporary).
2008-02-28 09:14:06 +00:00