|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.batch.api.chunk.AbstractItemWriter
public abstract class AbstractItemWriter
The AbstractItemWriter provides default implementations of not commonly implemented methods.
| Constructor Summary | |
|---|---|
AbstractItemWriter()
|
|
| Method Summary | |
|---|---|
java.io.Serializable |
checkpointInfo()
Override this method if the ItemWriter supports checkpoints. |
void |
close()
Override this method if the ItemWriter requires any close time processing. |
void |
open(java.io.Serializable checkpoint)
Override this method if the ItemWriter requires any open time processing. |
abstract void |
writeItems(java.util.List<java.lang.Object> items)
Implement write logic for the ItemWriter in this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractItemWriter()
| Method Detail |
|---|
public void open(java.io.Serializable checkpoint)
throws java.lang.Exception
open in interface ItemWriterlast - checkpoint for this ItemReader
java.lang.Exception - (or subclass) if an error occurs.
public void close()
throws java.lang.Exception
close in interface ItemWriterjava.lang.Exception - (or subclass) if an error occurs.
public abstract void writeItems(java.util.List<java.lang.Object> items)
throws java.lang.Exception
writeItems in interface ItemWriteritems - specifies the list of items to write.
java.lang.Exception - (or subclass) if an error occurs.
public java.io.Serializable checkpointInfo()
throws java.lang.Exception
checkpointInfo in interface ItemWriterjava.lang.Exception - (or subclass) if an error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||