Commit Graph

1857 Commits

Author SHA1 Message Date
dsyer
d713508db0 Fix bug in javadocs 2009-03-14 16:55:45 +00:00
dhgarrette
a069e6fc40 BATCH-1154:
*Renamed the "master" step factory bean to StepParserStepFactoryBean
  *Moved it to the same package as the parser
  *Made it package visibility since it should only be used by the parser
2009-03-14 16:32:44 +00:00
dsyer
726e37ed1a RESOLVED - issue BATCH-1137: Move classifier to separate package? 2009-03-14 16:04:07 +00:00
dsyer
f22c1886a9 RESOLVED - issue BATCH-1090: Add unique constraint to BATCH_JOB_INSTANCE 2009-03-14 09:23:39 +00:00
dhgarrette
5c89036bec BATCH-1154: Cleaned up error messages 2009-03-14 09:15:45 +00:00
dsyer
3b1c506bd9 RESOLVED: BATCH-1146 Added MD5 hashing to JobParameters in JDBC instance dao 2009-03-14 09:12:10 +00:00
dhgarrette
bcaaf4e2b0 BATCH-1154:
- Created StepFactoryBean, as a "master" factory that holds all the properties 
configurable on a step and decides which type of step to create.
 - the StepFactoryBean is used to generate a tasklet step as well as chunk-oriented step because if the 'tasklet=' attribute is specified on at one level and the <tasklet/> element is specified at another, the factory bean will be able to throw a useful error, whereas the parser would not know.
 - removed hacks from TaskletStep and SimpleStepFactoryBean
2009-03-14 08:34:04 +00:00
dhgarrette
d2a5aeb616 BATCH-1080:
BATCH-1145:
  Since both <step/> and <tasklet/> set directly to the *StepFactoryBean, their "parent" attributes were overwriting each other.  As a solution, the top-level <tasklet/> element has been removed.  To achieve the same result, the user can use an abstract top-level step with nothing declared but the <tasklet/>.
2009-03-14 02:58:20 +00:00
dhgarrette
cf062493e2 BATCH-1153: Removed "id" from all <listener/> elements. <job-listener/> and <step-listener/> have an optional "id" since no id needed when defined within a bean. 2009-03-13 23:29:26 +00:00
dhgarrette
143d003435 BATCH-1008: Changed order of elements in <split/> so that transitions are at the bottom. 2009-03-13 22:07:39 +00:00
dhgarrette
9e02c2e75a BATCH-1139: small refactoring of unit test 2009-03-13 21:52:47 +00:00
dhgarrette
8a7ad7581d BATCH-1131: Updated TaskletStep to accept TransactionAttribute as a List<String>, just as SimpleStepFactoryBean does. Added unit tests. 2009-03-13 21:48:29 +00:00
dhgarrette
e493bd5ceb BATCH-1131:
*Move "transaction-attribute" attribute from <tasklet/> to <step/> as <transaction-attributes/>
BATCH-1152:
 *Allow comma and newline as delimiters in exception lists in namespace
2009-03-13 20:18:26 +00:00
dhgarrette
90a845edbc BATCH-1002: Corrected description of "next" attribute. 2009-03-13 18:23:50 +00:00
dhgarrette
a4c3e72666 RESOLVED - BATCH-1151: Add IDE support to <retry-listeners/> in xsd. Also refactored a bit so that all <listener> element types reuse the same common attributes. 2009-03-13 17:51:12 +00:00
dhgarrette
9e35519672 RESOLVED - BATCH-1147:
*Fixed SimpleChunkProcessor so that the filter count is applied correctly
 *Updated SimpleChunkProcessorTests and CustomerFilterJobFunctionalTests to check the filter count.
2009-03-13 17:26:50 +00:00
dsyer
b3ba438e1a Add some docos to xsd 2009-03-13 10:19:42 +00:00
dhgarrette
45a24282af BATCH-1143: a bit of refactoring 2009-03-13 07:44:12 +00:00
dhgarrette
260a49649c BATCH-1139: Add requirement that standalone <tasklet/> be abstract. Otherwise users might think that they can use <step tasklet="?"/> to refer to it. They must always use <tasklet parent="?"/>. 2009-03-13 07:32:40 +00:00
dhgarrette
1204ec62fc RESOLVED - BATCH-1144: Create top-level element <job-listener/> 2009-03-13 06:33:50 +00:00
dhgarrette
4de7d5ec2d BATCH-1143: Moved common logic from InlineStepParser and StandaloneStepParser to AbstractStepParser 2009-03-13 05:54:23 +00:00
dhgarrette
1ddfe49191 RESOLVED - BATCH-1143: Standalone <step/> should not be allowed to have "tasklet" attribute and <tasklet/> together 2009-03-13 05:22:43 +00:00
dhgarrette
1ffd28d0f6 BATCH-1132:
BATCH-1138:
BATCH-1139:
  Clean up unit tests
2009-03-13 04:45:04 +00:00
dhgarrette
5fcffd81e2 RESOLVED - BATCH-1139:
*Add a "parent" attribute to <tasklet/>. This will allow tasklets to inherit properties from other tasklets that have been configured. 

 *A "merge" attribute for will have to be added to the following elements that occur with in <tasklet/>: 
    <skippable-exception-classes/> 
    <fatal-exception-classes/> 
    <retryable-exception-classes/> 
    <streams/> 
    <retry-listeners/> 

 *<tasklet/> should become a top-level element with an "abstract" attribute.
2009-03-13 03:56:43 +00:00
dhgarrette
bd23c675bb BATCH-1132:
BATCH-1138:
  extracted "parent" and "abstract" attributes into reusable attributeGroups
2009-03-12 22:35:16 +00:00
dhgarrette
ee9d8e379c RESOLVED - BATCH-1142: In the xsd, <listeners/> should be moved from "flowType" to "job" 2009-03-12 22:14:27 +00:00
dhgarrette
70b24ccffb RESOLVED - BATCH-1141: Rename CompositeExecutionJobListener to CompositeJobExecutionListener 2009-03-12 21:36:29 +00:00
dhgarrette
8f8800fd28 RESOLVED - BATCH-1138: Add "parent" attribute to <job/> 2009-03-12 21:29:29 +00:00
dhgarrette
30c6584e08 BATCH-1136: Add setListeners(StepExecutionListener[]) to TaskletStep so that the parser will be able to set <listeners/> consistently on steps using the "listeners" property. 2009-03-12 17:48:54 +00:00
dhgarrette
9729ca23fd BATCH-1132: Added "merge" element to <listeners/> defined within <step/> so that they can be added to listeners defined on a parent step.
BATCH-1135: Updated unit tests to test merging of listener lists
2009-03-12 15:52:34 +00:00
dhgarrette
a117b3d21c BATCH-1135: added unit tests for StepListenerParser. 2009-03-12 07:12:52 +00:00
dhgarrette
5441a642d1 BATCH-1132: Unit tests for "parent" and "abstract" attributes on <step/> 2009-03-12 05:15:34 +00:00
dhgarrette
1d3a2f0c6f BATCH-1132: add support for "abstract" attribute on <step/> 2009-03-11 23:39:02 +00:00
dhgarrette
93bb7c7695 BATCH-1135: Create TopLevelStepListenerHandler specifically for use in the CoreNamespaceHandler 2009-03-11 22:06:36 +00:00
dhgarrette
a273055e9f BATCH-1135: Create top-level element <step-listener/> 2009-03-11 20:47:24 +00:00
dhgarrette
099807521e RESOLVED - BATCH-1134: Create a superclass, AbstractListenerParser, for StepListenerParser and JobExecutionListenerParser 2009-03-11 20:07:23 +00:00
dhgarrette
cb21ca31b7 BATCH-1132: extracted step listener parsing into its own class 2009-03-11 19:11:32 +00:00
dhgarrette
aaeeb74092 BATCH-1132:
*Updated parsers to handle 'parent' attribute of <step/>.
 *Attribute "parent" can be used on standalone and inline step declaration as well as with the 'tasklet' attribute.
 *To be consistent with treatment of listeners and tasklets, 'parent' can't be combined with 'ref' on <step/>.
2009-03-11 18:22:59 +00:00
dhgarrette
292177996a BATCH-1016: Added test case 2009-03-11 18:08:59 +00:00
dhgarrette
7b23124208 BATCH-1132: Added "parent" attribute to <step/> and "abstract" attribute to top-level <step/> 2009-03-11 07:27:50 +00:00
dhgarrette
ab35b61900 BATCH-1118:
*Moved more logic from Job/StepListenerFactoryBean to AbstractListenerFactoryBean
 *Renamed AbstractListenerMetaData to ListenerMetaData
2009-03-10 20:47:50 +00:00
dhgarrette
28d04d424a BATCH-1118:
*Updated JobListenerFactoryBean so that listener methods specified via annotations or the metaDataMap are checked eagerly for correct signatures
 *Extracted common processing of Job/StepListenerFactoryBean classes into new superclass AbstractListenerFactoryBean
 *Created AbstractListenerMetaData interface for Job/StepListenerMetaData enums
 *Fixed JobExecutionListenerParser which had a bug in parsing listener method attributes
 *Corrected job listener attributes in xsd to use before/after-job-method
 *Added unit tests for job listener annotations and metaDataMap
 *Fixed typo in StepListenerFactoryBeanTests
2009-03-10 19:57:18 +00:00
dsyer
944b6aa4c8 RESOLVED - issue BATCH-1130: Ensure Ordered is respected by generated listeners
Add JobListenerFactoryBean - same solution
2009-03-10 14:40:45 +00:00
dsyer
3719198418 OPEN - issue BATCH-1130: Ensure Ordered is respected by generated listeners
Fixed for Step listeners
2009-03-10 14:32:34 +00:00
dsyer
464ebc577a OPEN - issue BATCH-1129: Problems with exception classifications
http://jira.springframework.org/browse/BATCH-1129
2009-03-10 12:10:23 +00:00
dhgarrette
b7bc7695e0 BATCH-1120: Added chunk-completion-policy to <tasklet/> element. 2009-03-09 21:25:22 +00:00
dhgarrette
ae808ede21 BATCH-1128: Updated FaultTolerantChunkProcessor's recovery procedure so that StepExecution.writeCount is not updated during throttling because writes will be rolled back. 2009-03-09 06:08:39 +00:00
dsyer
84ba0a6153 Fixed assertion that broke build 2009-03-07 14:28:22 +00:00
dsyer
deb667ee23 BATCH-1126: Invalid 2009-03-07 10:15:15 +00:00
dhgarrette
b4375aae21 BATCH-1118: Modified StepListenerFactoryBean so that listener methods specified via annotations or the metaDataMap are checked for correct signatures. This allows incorrect methods to fail eagerly. For added flexibility, methods are also allowed if they do not specify any parameters. 2009-03-07 07:16:06 +00:00