Examples of StepListenerAdapter


Examples of org.springframework.batch.core.jsr.StepListenerAdapter

    builder.transactionManager(transactionManager);
    for (Object listener : stepExecutionListeners) {
      if(listener instanceof StepExecutionListener) {
        builder.listener((StepExecutionListener) listener);
      } else if(listener instanceof javax.batch.api.listener.StepListener) {
        builder.listener(new StepListenerAdapter((javax.batch.api.listener.StepListener) listener));
      }
    }
  }
View Full Code Here

Examples of org.springframework.batch.core.jsr.StepListenerAdapter

      if (listener instanceof StepExecutionListener) {
        StepExecutionListener stepExecutionListener = (StepExecutionListener) listener;
        stepExecutionListeners.add(stepExecutionListener);
      }
      if(listener instanceof javax.batch.api.listener.StepListener) {
        StepExecutionListener stepExecutionListener = new StepListenerAdapter((javax.batch.api.listener.StepListener) listener);
        stepExecutionListeners.add(stepExecutionListener);
      }
      if (listener instanceof ChunkListener) {
        ChunkListener chunkListener = (ChunkListener) listener;
        chunkListeners.add(chunkListener);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.