Commit Graph

94 Commits

Author SHA1 Message Date
dsyer
044bc4e192 Review process. Consolidated some related support packages in infrastructure. 2008-03-14 10:30:18 +00:00
nebhale
9f7cc87c0d [BATCH-383] Fixes to make Spring Batch 1.4 runtime compliant. 2008-03-11 13:49:17 +00:00
dsyer
383a9587be Fix up XML that was not re-factored with Spring IDE 2008-03-09 18:28:12 +00:00
dsyer
6d4dad0788 OPEN - issue BATCH-429: Combine the core and execution modules
Consolidate some random packages and classes with odd names.
2008-03-09 12:52:54 +00:00
dsyer
94b067be39 OPEN - issue BATCH-429: Combine the core and execution modules
http://jira.springframework.org/browse/BATCH-429

Collapse step/support packages to remove cycle.
2008-03-09 09:43:45 +00:00
dsyer
bc94866754 [BATCH-429] Move sub-packages over to core 2008-03-09 08:51:55 +00:00
dsyer
b44da1c996 Complete - task 89: Resurrect Quartz sample
Add unit test for JobLauncherDetails
2008-03-07 18:58:20 +00:00
nebhale
c1887cdd9c [BATCH-430] Rearranged package structure to remove technical packages 2008-03-07 14:56:10 +00:00
nebhale
cce1b29f6d [BATCH-430] Renamed InfrastructureException to UnexpectedJobExecutionException 2008-03-07 14:29:51 +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
dsyer
125fcd8e9c Incomplete - task 89: Resurrect Quartz sample
Add some logging and attempt to create job parameters from the quartz job detail map
2008-03-07 13:12:07 +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
fff1f0fb9e [BATCH-432] Moved the domain objects up to the root core directory 2008-03-07 09:55:04 +00:00
dsyer
f5e85d5f63 Change svn:eol-style to LF 2008-03-06 21:59:13 +00:00
robokaso
7a57b634c1 RESOLVED - issue BATCH-419: JobListener and StepListener should pass in JobExecution/StepExecution in each method
http://jira.springframework.org/browse/BATCH-419

added the StepExecution argument to StepListener#onErrorInStep method

OPEN - issue BATCH-329: Make "VERSION" meaningful? 
http://jira.springframework.org/browse/BATCH-329

MapStepExecutionDao now handles version similarly to JdbcStepExecutionDao
2008-03-06 16:02:22 +00:00
robokaso
e20a250e14 IN PROGRESS - issue BATCH-419: JobListener and StepListener should pass in JobExecution/StepExecution in each method
http://jira.springframework.org/browse/BATCH-419

added StepExecution argument to StepListener#afterStep
2008-03-06 14:25:09 +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
dsyer
cda3824c3d Whitespace 2008-03-06 10:25:42 +00:00
dsyer
9eb3dc0b0f Rename *Writer as *Dao if they don't implement ItemWriter 2008-03-06 10:25:01 +00:00
dsyer
d265ef6b3e Complete change to setter for job registry 2008-03-05 22:01:51 +00:00
dsyer
91fabf5e1b Incomplete - task 89: Resurrect Quartz sample
Accidentally committed a class in test where it should have been main.
2008-03-05 21:51:50 +00:00
dsyer
b5fe858e64 Incomplete - task 89: Resurrect Quartz sample 2008-03-05 15:02:53 +00:00
robokaso
69e3878501 RESOLVED - issue BATCH-389: Two samples could make use of our ValidatingItemReader instead of DelegatingItemReader.
http://jira.springframework.org/browse/BATCH-389
2008-03-05 14:15:13 +00:00
robokaso
ac27e91948 RESOLVED - issue BATCH-383: Remove Java 5 features from samples
http://jira.springframework.org/browse/BATCH-383
2008-03-04 13:35:30 +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
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
0eb239c9cb RESOLVED - issue BATCH-398: That old stateful / stateless thing again....
http://jira.springframework.org/browse/BATCH-398

Fix JMX demo using an application context per job execution.
2008-03-01 09:59:01 +00:00
robokaso
b4655119ca BATCH-401: prototype of JobInterruptionAdvice added to samples (see GracefulShutdownTests) 2008-02-29 18:21:06 +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
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
a53f8f6cbe OPEN - issue BATCH-385: Merge user attributes in StepContext with ExecutionContext
http://jira.springframework.org/browse/BATCH-385

Refactored existing StepContextAware to StepListener implementations.  The BatchResourceFactoryBean is now a ProxyResource with a hint in docos and exception messages about registering with a step.
2008-02-29 11:31:21 +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
36fcddb20e Use lobHandler in Staging* 2008-02-27 09:40:42 +00:00
dsyer
e3c86285cf Tidy up streams on close in stream manager 2008-02-27 08:05:52 +00:00
lucasward
535fd28f91 BATCH-365: ItemStream#Update and ItemStream#close now accept an ExecutionContext as an argument. I removed the local ExecutionContexts in the readers and readers, and had them use the passed in ones instead. 2008-02-26 21:23:08 +00:00
lucasward
93445b9164 BATCH-339: ItemWriter#flush() now throws a FlushFailedException (unchecked) and ItemWriter#clear() now throws a ClearFailedException (also unchecked) 2008-02-26 20:10:38 +00:00
dsyer
e2c5d1fb97 Remove unnecessary public getter from DelegatingItemReader 2008-02-26 12:21:28 +00:00
dsyer
2cfb69a852 Incomplete - task 84: Fix samples
Compiler warnings
2008-02-26 11:01:45 +00:00
dsyer
7f0be2826e Incomplete - task 84: Fix samples
Fix column mapping in jdbc cursor - order is important.
2008-02-26 10:41:30 +00:00
lucasward
d24f0af439 BATCH-365: There should now be one ExecutionContext per step. All itemStreams will be opened with an execution context, and will be notified before it is saved, to ensure they have all state in the context. Most ItemReader/Writers should now have the logic for whether or not to put their state in the context, but a few have likely been missed. 2008-02-26 08:29:59 +00:00
lucasward
58cdd58c79 BATCH-365: Added flush() and clear() to ItemWriter interface. These should be removed from ItemStream after the same is done for the ItemReader interface. 2008-02-24 01:56:11 +00:00
dsyer
f6bd90fc3e OPEN - issue BATCH-371: FlatFileItemWriter no longer uses LineAggregator
http://jira.springframework.org/browse/BATCH-371

Changed the interface of LineAggregator for symmetry with LineTokenizer.
2008-02-20 08:55:35 +00:00
dsyer
ec5379ebac OPEN - issue BATCH-364: StepScope responsibilities can be assumed by Step (not ApplicationContext)
http://jira.springframework.org/browse/BATCH-364

Make StreamManager responsible for calling open() and close().
2008-02-15 13:44:36 +00:00
robokaso
4a40b17002 RESOLVED - issue BATCH-362: Rename ExecutionAttributes to ExecutionContext
http://jira.springframework.org/browse/BATCH-362
2008-02-15 12:12:16 +00:00
dsyer
711d0c6e92 OPEN - issue BATCH-364: StepScope responsibilities can be assumed by Step (not ApplicationContext)
http://jira.springframework.org/browse/BATCH-364

Instead of lazy open, throw exception is stream is used before open().
2008-02-15 09:19:25 +00:00
dsyer
2ce3013ac1 RESOLVED - issue BATCH-268: retry configuration for ItemOrientedTasklet
http://jira.springframework.org/browse/BATCH-268

The retry only works if you have an ItemStream as an ItemReader (so that you get a proper rollback).  Applied the patch and fixed it up to fit the new m5 way of looking at things.
2008-02-11 17:23:57 +00:00
dsyer
ad71b2f56e OPEN - issue BATCH-347: aop / template interceptor class names ambiguous
http://jira.springframework.org/browse/BATCH-347

Rename Rpeat/RetryInterceptor as *Listener (and get rid of last error in samples).
2008-02-10 16:27:08 +00:00