diff --git a/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-2.0.xsd b/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-2.0.xsd index 04bb8288e..12d8f641f 100644 --- a/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-2.0.xsd +++ b/spring-batch-core/src/main/resources/org/springframework/batch/core/configuration/xml/spring-batch-2.0.xsd @@ -25,13 +25,15 @@ - + @@ -43,12 +45,13 @@ - - + + @@ -59,17 +62,17 @@ Defines a stage in job processing backed by a Step. The id attribute must be specified since this - step definition will be referred to from other bean - definitions. + step definition will be referred to from other elements + to form a Job flow. - - - + + + @@ -78,13 +81,14 @@ - A reference to a JobExecutionListener or a POJO - (with before-job-method / after-job-method). + A reference to a JobExecutionListener (or a POJO + if using before-job-method / after-job-method or + source level annotations). - + @@ -92,12 +96,13 @@ - A bean definition for a step listener (or POJO if using *-method attributes) + A bean definition for a step listener (or POJO if using *-method attributes or source level + annotations) - + @@ -105,15 +110,16 @@ - A bean definition for a tasklet. Useful for creating a "base" + A bean definition for a tasklet that can be injected into a Step. + Useful for creating a "base" tasklet from which others can extend. - - + + @@ -122,7 +128,8 @@ @@ -173,30 +180,32 @@ Defines a stage in job processing backed by a - Step. The name attribute must be specified and - can match the id of a bean definition + Step. The id attribute must be specified and + can + match the id of a bean definition for a Step. If it does not, then you must provide - a tasklet definition. The next - attribute is a synonym for <next on="*" .../> + a tasklet definition or a + reference to a Step defined elsewhere. - + - The step name attribute defines the name for the step. It can be used as - a reference to another bean definition where business logic is specified. + The step name attribute defines the name for the step. It can be used as + a reference to + another bean definition where business logic is specified. - + - + @@ -206,24 +215,24 @@ - + - - A subflow within a job, having the same format as a job, but without a separate identity. - - + + + A subflow within a job, having the same format as a job, but without a separate identity. + + + - - + @@ -242,15 +251,16 @@ - + - - The decider is a reference to a JobExecutionDecider that can produce a status to base - the next transition on. + + The decider is a reference to a JobExecutionDecider that can produce a status to base + the + next transition on. - + @@ -258,11 +268,11 @@ - + - + @@ -274,9 +284,9 @@ - + - + @@ -284,21 +294,21 @@ - - + + - + - - - + + + - + @@ -314,9 +324,9 @@ - + - + @@ -345,7 +355,7 @@ - + @@ -358,7 +368,7 @@ - + @@ -373,7 +383,7 @@ - + @@ -388,7 +398,7 @@ - + @@ -474,42 +484,39 @@ - - + - - + - + - + @@ -517,40 +524,40 @@ - + - + - - - + + + - + - A reference to a JobExecutionListener or a POJO - (with before-job-method / after-job-method). + A reference to a JobExecutionListener or a POJO + (with before-job-method / after-job-method). - + - A class name used to create a job execution listener from the default constructor. + A class name used to create a job execution listener from the default constructor. @@ -564,22 +571,25 @@ - + - + - A class name used to create a StepListener from the default constructor. If the class - does not implement StepListener then a *-method attribute must be provided. + A class name used to create a StepListener from the default constructor. If the class + does not + implement StepListener then either a *-method attribute must be provided, + or source level anntotations must be + present for the listener method to be detected. @@ -588,22 +598,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -611,15 +621,15 @@ - + - + @@ -627,23 +637,24 @@ - + - Defines a step transition from this step to the - next one depending on the value of the exit status. + Defines a transition from this step to the + next one depending on the value of the exit + status. A pattern to match against the exit status - code. Use * and ? as wildcard characters. When a step finishes the - most + code. Use * and ? as wildcard characters. When a + step finishes the most specific match will be chosen to select the next step. Hint: - always - include a default transition with on="*". + always include a default + transition with on="*". @@ -679,7 +690,7 @@ Declares job should end at this point, without the possibility of restart. - BatchStatus will be COMLETED. ExitStatus is configurable. + BatchStatus will be COMPLETED. ExitStatus is configurable.