|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.rhi.architecture.parc.adapter.AbstractOutputAdapter
com.rhi.architecture.parc.adapter.jdo.JDOOutputAdapter
JDO Output Adapter. Uses Castor to perform mapping from java objects to DB rows.
| Field Summary |
| Fields inherited from interface com.rhi.architecture.parc.OutputAdapter |
DEFAULT_THREAD_MODE, RUN_AS_THREAD, RUN_AS_THREAD_KEY |
| Constructor Summary | |
JDOOutputAdapter()
Default constructor |
|
| Method Summary | |
void |
cleanup()
cleanup any resources. |
java.util.Collection |
handleValidRecords(java.util.Collection c,
Transaction t)
Handle persistence of valid records from the framework. |
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, handleErrorRecords, 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 JDOOutputAdapter()
| Method Detail |
public void init(java.util.Properties props)
throws InitializationException
init in interface OutputAdapterinit in class AbstractOutputAdapterprops -
InitializationExceptionpublic void cleanup()
cleanup in interface OutputAdaptercleanup in class AbstractOutputAdapter
public java.util.Collection handleValidRecords(java.util.Collection c,
Transaction t)
throws ProcessingException
handleValidRecords in class AbstractOutputAdapterc - - valid records.t - - the transaction to use when persisting the records.
ProcessingException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||