Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spring-batch-docs/modules/ROOT/pages/job/configuring.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -251,20 +251,20 @@ it with its own list of listeners to produce a
<job id="baseJob" abstract="true">
<listeners>
<listener ref="listenerOne"/>
<listeners>
</listeners>
</job>

<job id="job1" parent="baseJob">
<step id="step1" parent="standaloneStep"/>

<listeners merge="true">
<listener ref="listenerTwo"/>
<listeners>
</listeners>
</job>
----

[role="xmlContent"]
See the section on <<inheritingFromParentStep,Inheriting from a Parent Step>>
See the section on xref:step/chunk-oriented-processing/inheriting-from-parent.adoc[Inheriting from a Parent Step]
for more detailed information.

[[jobparametersvalidator]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ In the following example, the `Step` "concreteStep3", is created with two listen
<step id="listenersParentStep" abstract="true">
<listeners>
<listener ref="listenerOne"/>
<listeners>
</listeners>
</step>

<step id="concreteStep3" parent="listenersParentStep">
Expand All @@ -102,7 +102,7 @@ In the following example, the `Step` "concreteStep3", is created with two listen
</tasklet>
<listeners merge="true">
<listener ref="listenerTwo"/>
<listeners>
</listeners>
</step>
----