public class BeanIOWriter extends Object implements javax.batch.api.chunk.ItemWriter
| Modifier and Type | Field and Description |
|---|---|
protected String |
configuration |
protected String |
encoding |
protected String |
filePath |
protected String |
streamName |
| Constructor and Description |
|---|
BeanIOWriter() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
checkpointInfo() |
void |
close() |
void |
open(Serializable checkpoint) |
void |
writeItems(List<Object> items) |
@Inject protected String filePath
@Inject protected String streamName
@Inject protected String configuration
@Inject protected String encoding
public void open(Serializable checkpoint) throws Exception
open in interface javax.batch.api.chunk.ItemWriterExceptionpublic void close()
throws Exception
close in interface javax.batch.api.chunk.ItemWriterExceptionpublic void writeItems(List<Object> items) throws Exception
writeItems in interface javax.batch.api.chunk.ItemWriterExceptionpublic Serializable checkpointInfo() throws Exception
checkpointInfo in interface javax.batch.api.chunk.ItemWriterExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.