com.ibm.jbatch.tck.artifacts.chunkartifacts
Class RetryWriter
java.lang.Object
javax.batch.api.AbstractItemWriter<NumbersRecord>
com.ibm.jbatch.tck.artifacts.chunkartifacts.RetryWriter
- All Implemented Interfaces:
- ItemWriter<NumbersRecord>
@Named(value="retryWriter")
public class RetryWriter
- extends AbstractItemWriter<NumbersRecord>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataSource
protected DataSource dataSource
RetryWriter
public RetryWriter()
open
public void open(Externalizable cpd)
throws NamingException
- Specified by:
open in interface ItemWriter<NumbersRecord>- Overrides:
open in class AbstractItemWriter<NumbersRecord>
- Throws:
NamingException
writeItems
public void writeItems(List<NumbersRecord> records)
throws Exception
- Specified by:
writeItems in interface ItemWriter<NumbersRecord>- Specified by:
writeItems in class AbstractItemWriter<NumbersRecord>
- Throws:
Exception
Copyright © 2013. All Rights Reserved.