Commit Graph

63 Commits

Author SHA1 Message Date
dsyer
1efb6fedc9 OPEN - issue BATCH-339: ItemStream.mark() and reset() should throw a checked exception
http://jira.springframework.org/browse/BATCH-339

Missing classes
2008-02-08 13:59:25 +00:00
dsyer
c43c1b4466 OPEN - issue BATCH-339: ItemStream.mark() and reset() should throw a checked exception
http://jira.springframework.org/browse/BATCH-339

Introduce MrakFailedException and ResetFailedException (unchecked for now).  ResetFailedException has to be dealt with specially in the StepExecutor.
2008-02-08 13:46:11 +00:00
robokaso
37cf297899 RESOLVED - issue BATCH-343: close() is called twice on ItemReaders/ItemWriters
http://jira.springframework.org/browse/BATCH-343

ItemStream implementations no longer implement DisposableBean
2008-02-06 14:20:21 +00:00
dsyer
05e0804020 Removed the close() method from ItemWriter - it shadows ItemStream so use that interface if needed. 2008-02-05 11:37:03 +00:00
dsyer
f41487b32b Removed the close() method from ItemReader - it shadows ItemStream so use that interface if needed. 2008-02-05 11:33:23 +00:00
dsyer
22a1d7c254 Remove unnecessary context from mark()/reset() in ItemStream. 2008-02-05 10:37:01 +00:00
dsyer
8ac9c65b78 RESOLVED - issue BATCH-330: Modify RestartData to be a typesafe form of map
http://jira.springframework.org/browse/BATCH-330

Remove references to RestartData
2008-02-05 09:44:45 +00:00
dsyer
8c1cb2808f Purge StreamContext some more 2008-02-05 09:34:13 +00:00
dsyer
1479d4c53d Purge StreamContext 2008-02-05 08:51:54 +00:00
dsyer
fad398f069 Build carnage - thank you Lucas 2008-02-05 08:08:02 +00:00
lucasward
12345beaf7 BATCH-219 and BATCH-330: Created ExecutionAttributes, which are stored in the table BATCH_STEP_EXECUTION_ATTRIBUTES. 2008-02-05 02:33:21 +00:00
dsyer
8773b55f8b Changed restartQuery back to restartSql to be consistent with related single column case. 2008-02-04 15:31:04 +00:00
dsyer
c96c619d26 Remove duplicate setter. 2008-02-04 14:47:39 +00:00
dsyer
3071ab6596 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Take some steps to make stream context keys unique in the StreamManager
2008-02-04 08:13:56 +00:00
dsyer
2d1ccb0cc6 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove GenericStreamContext
2008-02-02 15:16:20 +00:00
dsyer
68d0eacdc7 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove BatchTransactionSynchronizationManager
2008-01-31 22:55:54 +00:00
dsyer
2c3d43d7bd BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Use StreamManager to start/end transaction in step executor
2008-01-31 22:36:26 +00:00
dsyer
74d4ec612c IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Added mark()/reset() to ItemStream, and implementations.
2008-01-31 16:31:31 +00:00
dsyer
68a6e2e864 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

More Statistics removal
2008-01-31 15:20:05 +00:00
dsyer
36e1e658ae IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

More Statistics removal
2008-01-31 15:15:28 +00:00
dsyer
c82c930d4d IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

More Statistics removal
2008-01-31 14:55:16 +00:00
dsyer
c2ccb7ed02 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

More Statistics removal
2008-01-31 14:45:39 +00:00
lucasward
93639e1928 BATCH-330:Fixed a bug causing the StreamContext to incorrectly throw a ClassCastException. Also added an overriden equals and hashcode. 2008-01-31 14:25:27 +00:00
dsyer
8b6aad9d82 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove Statistics* - use StreamContext instead.
2008-01-31 13:29:59 +00:00
dsyer
15cffeb925 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Lazy-initialisation solution to the "who's in step scope" issue
2008-01-31 09:54:38 +00:00
dsyer
9d1ebb42c7 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove ResourceLifecycle and make existing implementations into ItemStream
2008-01-31 00:44:50 +00:00
dsyer
bebab9c8d2 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Added ItemStream as base interface for ItemReader/Writer.
2008-01-30 18:42:48 +00:00
dsyer
11708012b5 BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Moved ItemStream to item package
2008-01-30 18:01:07 +00:00
dsyer
a2117e4f22 BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Rename Restartable to ItemStream
2008-01-30 17:56:56 +00:00
dsyer
6ffefbc184 Introduce KeyedItemReader to push the getKey() method into a separate place. 2008-01-30 08:55:53 +00:00
dsyer
152829ba5f Send test coverage in core up to the high 90s. 2008-01-30 08:02:29 +00:00
dsyer
911e368a71 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Same treatment for JobExecutor - roll it up into the Job interface
2008-01-29 18:07:57 +00:00
lucasward
16c59d915f BATCH-325:Added close() to readers and writers. 2008-01-29 17:12:14 +00:00
dsyer
bc9afc4ce1 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Remove some references to "processor".  Rename some XML files.
2008-01-29 09:35:11 +00:00
dsyer
b0c6a16879 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Replace DummyItemWriter to fix failed build
2008-01-29 09:22:42 +00:00
dsyer
63594415ca Purge ItemProcessor 2008-01-29 09:13:47 +00:00
dsyer
0e27ea6660 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Half way there - tests OK, but some naming and tidying up to do.
2008-01-28 22:37:46 +00:00
dsyer
fd012bd49c Resolved some TODOs. 2008-01-28 13:56:48 +00:00
dsyer
5ad74053cd Resolved some TODOs. 2008-01-28 09:46:21 +00:00
dsyer
00ca5ce850 RESOLVED - issue BATCH-88: StatisticsProvider is a leaky abstraction
http://jira.springframework.org/browse/BATCH-88
2008-01-24 16:22:56 +00:00
dsyer
702213838e RESOLVED - issue BATCH-305: ItemProvider still referenced in comments / variable naming in ItemOrientedTasklet
http://jira.springframework.org/browse/BATCH-305
2008-01-24 10:42:31 +00:00
dsyer
678ccc06d9 RESOLVED - issue BATCH-45: Create a POJO adapter for batch Tasklet
http://jira.springframework.org/browse/BATCH-45

Use the existing method invoking delegator to provide a crude adapter (not trying to pass result back in).
2008-01-21 15:29:12 +00:00
dsyer
badcf74c7b OPEN - issue BATCH-295: JobLauncher should have only one run method.
http://jira.springframework.org/browse/BATCH-295

Add a property editor for JobIdentifier so the JMX demo can work.
2008-01-21 11:37:12 +00:00
dsyer
ddac3e8e5e RESOLVED - issue BATCH-296: rollback of first chunk fails
http://jira.springframework.org/browse/BATCH-296

Added additional test, but the bug was already fixed in m3.
2008-01-17 13:13:06 +00:00
dsyer
9c2df0b180 RESOLVED - issue BATCH-289: FieldSet should be an interface
http://jira.springframework.org/browse/BATCH-289

Created interface and moved implementation to DefaultFieldSet.
2008-01-16 14:39:11 +00:00
dsyer
5627d28945 RESOLVED - issue BATCH-293: ResourceLineReader eats newlines within a record's field
http://jira.springframework.org/browse/BATCH-293

Fixed using Java 2 features (not using the patch as such) - (implicit) StringBuffer instead of StringBuilder.
2008-01-16 14:19:07 +00:00
dsyer
c0bf35b959 RESOLVED - issue BATCH-285: Problem with DelimitedLineTokenizer and whitespace after quote
http://jira.springframework.org/browse/BATCH-285

Refactored to treat quoted strings with whitepsace outside the quotes as a special case (stripping the whitespace before unquoting).  Non-quoted strings are not trimmed (but clients like the item readers may be trimming).
2008-01-16 10:35:36 +00:00
dsyer
8bdf835cdd Fix compiler warnings 2008-01-15 13:18:10 +00:00
lucasward
e8c2539656 BATCH-263:XML and FlatFile item readers will no longer throw IllegalStateException on afterPropertiesSet if resource.exists() == false. Instead, they will check that a resource exists when initialized by the first call to read(). 2008-01-03 20:31:15 +00:00
dsyer
c423fff306 Rename provider package as "reader" 2008-01-02 14:41:06 +00:00