public abstract class JSefaWriter extends Object implements javax.batch.api.chunk.ItemWriter
Modifier and Type | Field and Description |
---|---|
protected String |
encoding |
protected String |
file |
protected String |
objectAccessorProvider |
protected String |
objectTypes |
protected net.sf.jsefa.Serializer |
serializer |
protected String |
simpleTypeProvider |
protected TransactionalWriter |
transactionalWriter |
protected String |
typeMappingRegistry |
protected String |
validationMode |
protected String |
validationProvider |
Constructor and Description |
---|
JSefaWriter() |
Modifier and Type | Method and Description |
---|---|
Serializable |
checkpointInfo() |
void |
close() |
protected abstract net.sf.jsefa.Serializer |
createSerializer() |
void |
open(Serializable checkpoint) |
void |
writeItems(List<Object> items) |
@Inject protected String objectTypes
@Inject protected String validationMode
@Inject protected String objectAccessorProvider
@Inject protected String validationProvider
@Inject protected String simpleTypeProvider
@Inject protected String typeMappingRegistry
@Inject protected String file
@Inject protected String encoding
protected net.sf.jsefa.Serializer serializer
protected TransactionalWriter transactionalWriter
public void open(Serializable checkpoint) throws Exception
open
in interface javax.batch.api.chunk.ItemWriter
Exception
protected abstract net.sf.jsefa.Serializer createSerializer() throws Exception
Exception
public void close() throws Exception
close
in interface javax.batch.api.chunk.ItemWriter
Exception
public void writeItems(List<Object> items) throws Exception
writeItems
in interface javax.batch.api.chunk.ItemWriter
Exception
public Serializable checkpointInfo() throws Exception
checkpointInfo
in interface javax.batch.api.chunk.ItemWriter
Exception
Copyright © 2017 The Apache Software Foundation. All rights reserved.