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.
This commit is contained in:
@@ -88,7 +88,9 @@
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="jobExecutionListenerType" />
|
||||
<xsd:extension base="jobExecutionListenerType">
|
||||
<xsd:attribute name="id" type="xsd:ID" use="optional" />
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
@@ -102,7 +104,9 @@
|
||||
</xsd:annotation>
|
||||
<xsd:complexType>
|
||||
<xsd:complexContent>
|
||||
<xsd:extension base="stepListenerType" />
|
||||
<xsd:extension base="stepListenerType">
|
||||
<xsd:attribute name="id" type="xsd:ID" use="optional" />
|
||||
</xsd:extension>
|
||||
</xsd:complexContent>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
@@ -539,7 +543,6 @@
|
||||
</xsd:complexType>
|
||||
|
||||
<xsd:complexType name="listenerType">
|
||||
<xsd:attribute name="id" type="xsd:ID" />
|
||||
<xsd:attribute name="ref" type="xsd:string">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
<step id="baseStep" abstract="true">
|
||||
<listeners>
|
||||
<listener id="skipCheckingListener" class="org.springframework.batch.sample.common.SkipCheckingListener"/>
|
||||
<listener class="org.springframework.batch.sample.common.SkipCheckingListener"/>
|
||||
<listener ref="promotionListener"/>
|
||||
</listeners>
|
||||
</step>
|
||||
|
||||
Reference in New Issue
Block a user