public class InfiniteLoopWriter extends StepExecutionListenerSupport implements ItemWriter<Object>
| Constructor and Description | 
|---|
| InfiniteLoopWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | beforeStep(StepExecution stepExecution)Initialize the state of the listener with the  StepExecutionfrom
 the current scope. | 
| void | write(List<? extends Object> items)Process the supplied data element. | 
afterSteppublic void beforeStep(StepExecution stepExecution)
StepExecutionListenerStepExecution from
 the current scope.beforeStep in interface StepExecutionListenerbeforeStep in class StepExecutionListenerSupportStepExecutionListener.beforeStep(StepExecution)public void write(List<? extends Object> items) throws Exception
ItemWriterwrite in interface ItemWriter<Object>Exception - if there are errors. The framework will catch the
 exception and convert or rethrow it as appropriate.Copyright © 2014 Pivotal. All rights reserved.