public List<ItemReadListenerProxy> getItemReadListeners(Step step, InjectionReferences injectionRefs, RuntimeStepExecution stepContext) { List<ListenerInfo> stepListenerInfo = getStepListenerInfo(step, injectionRefs); List<ItemReadListenerProxy> retVal = new ArrayList<ItemReadListenerProxy>(); for (ListenerInfo li : stepListenerInfo) { if (li.isItemReadListener()) { ItemReadListenerProxy proxy = new ItemReadListenerProxy((ItemReadListener) li.getArtifact()); proxy.setStepContext(stepContext); retVal.add(proxy); } } return retVal; }
public List<ItemReadListenerProxy> getItemReadListeners(Step step, InjectionReferences injectionRefs, StepContextImpl stepContext) { List<ListenerInfo> stepListenerInfo = getStepListenerInfo(step, injectionRefs); List<ItemReadListenerProxy> retVal = new ArrayList<ItemReadListenerProxy>(); for (ListenerInfo li : stepListenerInfo) { if (li.isItemReadListener()) { ItemReadListenerProxy proxy = new ItemReadListenerProxy((ItemReadListener) li.getArtifact()); proxy.setStepContext(stepContext); retVal.add(proxy); } } return retVal; }
public List<ItemReadListenerProxy> getItemReadListeners(Step step, InjectionReferences injectionRefs, StepContextImpl stepContext) { List<ListenerInfo> stepListenerInfo = getStepListenerInfo(step, injectionRefs); List<ItemReadListenerProxy> retVal = new ArrayList<ItemReadListenerProxy>(); for (ListenerInfo li : stepListenerInfo) { if (li.isItemReadListener()) { ItemReadListenerProxy proxy = new ItemReadListenerProxy((ItemReadListener) li.getArtifact()); proxy.setStepContext(stepContext); retVal.add(proxy); } } return retVal; }