Class RetryInitWriter
- java.lang.Object
-
- jakarta.batch.api.chunk.AbstractItemWriter
-
- com.ibm.jbatch.tck.artifacts.chunkartifacts.RetryInitWriter
-
- All Implemented Interfaces:
jakarta.batch.api.chunk.ItemWriter
@Named("retryInitWriter") public class RetryInitWriter extends jakarta.batch.api.chunk.AbstractItemWriter
-
-
Field Summary
Fields Modifier and Type Field Description protected DataSource
dataSource
-
Constructor Summary
Constructors Constructor Description RetryInitWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
open(Serializable cpd)
void
writeItems(List<Object> records)
-
-
-
Field Detail
-
dataSource
protected DataSource dataSource
-
-
Method Detail
-
open
public void open(Serializable cpd) throws NamingException
- Specified by:
open
in interfacejakarta.batch.api.chunk.ItemWriter
- Overrides:
open
in classjakarta.batch.api.chunk.AbstractItemWriter
- Throws:
NamingException
-
writeItems
public void writeItems(List<Object> records) throws SQLException
- Specified by:
writeItems
in interfacejakarta.batch.api.chunk.ItemWriter
- Specified by:
writeItems
in classjakarta.batch.api.chunk.AbstractItemWriter
- Throws:
SQLException
-
-