|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.parc.adapter.AbstractOutputAdapter
com.rhi.architecture.parc.adapter.file.FlatFileOutputAdapter
Flat File Output Adapter. Uses toString() method on Record to dump output to file.
Field Summary |
Fields inherited from interface com.rhi.architecture.parc.OutputAdapter |
DEFAULT_THREAD_MODE, RUN_AS_THREAD, RUN_AS_THREAD_KEY |
Constructor Summary | |
FlatFileOutputAdapter()
Default Constructor. |
Method Summary | |
void |
cleanup()
cleanup any resources. |
protected void |
handleErrorRecords(java.util.Collection c,
Transaction t)
General Case implementation for persisting error records. |
java.util.Collection |
handleValidRecords(java.util.Collection c,
Transaction t)
Persist Valid Records - FlatFileOutputAdapter does not |
void |
init(java.util.Properties props)
Initialize the Castor data binding facilities so that the doWrite() method is ready to go. |
Methods inherited from class com.rhi.architecture.parc.adapter.AbstractOutputAdapter |
close, completeBatch, createTransaction, flush, getAuditAgent, log, markComplete, run, setAuditAgent, setErrorChannel, setExceptionHandler, setValidChannel, write, writeErrorRecords, writeValidRecords |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FlatFileOutputAdapter()
Method Detail |
public void init(java.util.Properties props) throws InitializationException
init
in interface OutputAdapter
init
in class AbstractOutputAdapter
props
-
InitializationException
public void cleanup()
cleanup
in interface OutputAdapter
cleanup
in class AbstractOutputAdapter
public java.util.Collection handleValidRecords(java.util.Collection c, Transaction t) throws ProcessingException
handleValidRecords
in class AbstractOutputAdapter
c
- - valid recordst
- - the transaction to use in committing the records.
ProcessingException
protected void handleErrorRecords(java.util.Collection c, Transaction t) throws ProcessingException
handleErrorRecords
in class AbstractOutputAdapter
c
- - errored recordst
- - the transaction to use in committing the records.
ProcessingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |