title: parent child job with common job and step listener in parent job
body: <p>We have 10-15 diff spring batch jobs and for each job we have some common listener like email notifier, job duration listener etc. For this i have added parent job config and some common listener and package them as one lib.</p>
  
  <p>Now in our main concrete jobs, i am using this parent job by extending them in child job context. something like this  where "parentJob" is defined in another common lib which has one job listener registered to it.</p>
  
  <p>Now when i run my child job, it is not executing job listener registered in parent job. What could be the isssue?</p>
  
  <p>Parent Job Def</p>
  
  <pre><code>&lt;batch:job id="parentJob" abstract="true"&gt;
      &lt;batch:listeners&gt;
          &lt;batch:listener ref="jobDurationListener"/&gt;
      &lt;/batch:listeners&gt;
  &lt;/batch:job&gt;
  </code></pre>
  
  <p>Child job</p>
  
  <pre><code>&lt;batch:job id="job1" parent="parentJob"&gt;
      &lt;batch:step id="step1"  &gt;
          &lt;batch:tasklet transaction-manager="transactionManager" start-limit="100" &gt;
              &lt;batch:chunk reader="reader" writer="writer" commit-interval="1" /&gt;
          &lt;/batch:tasklet&gt;
      &lt;/batch:step&gt;
      &lt;batch:listeners&gt;
          &lt;batch:listener ref="testListener"/&gt;
      &lt;/batch:listeners&gt;
  &lt;/batch:job&gt;
  </code></pre>