title: Using SkipListener which implements Ordered with scope="step": No context holder available for step scope
body: <p>When using a skipListener with scope="step" which implements Ordered I get the following exception:</p>
  
  <p>Error creating bean with name 'scopedTarget.scopedTarget.fisalisBatchMeldungenListener': Scope 'step' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No context holder available for step scope</p>
  
  <p>If I don't let my listener implement Ordered the exception does not ocure.</p>
  
  <p>Here is my Bean Definition:</p>
  
  <pre><code>&lt;bean id="erzeuger" class="...." scope="step"&gt;
      &lt;property name="user" ref="user" /&gt;
      &lt;property name="termin" ref="termin" /&gt;
      &lt;property name="services" ref="services" 
  &lt;/bean&gt;
  
  &lt;bean id="listener" class="Listenerclass" scope="step"&gt;
      &lt;property name="erzeuger" ref="erzeuger" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>And here is the part where I am using it:</p>
  
  <pre><code>&lt;step id="myStep" parent="abstractBatchStep" xmlns="http://www.springframework.org/schema/batch"&gt;
      &lt;listeners merge="true"&gt;
      &lt;listener ref="listener" /&gt;
      &lt;/listeners&gt;
  &lt;/step&gt; 
  </code></pre>
  
  <p>Has anyone an idea where the problem is?</p>