com.rhi.architecture.parc.adapter.jdo
Class JDOInputAdapter

java.lang.Object
  extended bycom.rhi.architecture.parc.adapter.AbstractInputAdapter
      extended bycom.rhi.architecture.parc.adapter.jdo.JDOInputAdapter
All Implemented Interfaces:
Adapter, InputAdapter

public class JDOInputAdapter
extends AbstractInputAdapter

Castor JDO based InputAdapter.

Since:
1.0
Author:
Pete McKinstry

Constructor Summary
JDOInputAdapter()
           
 
Method Summary
protected  java.lang.String getQuery()
          Return a String representing the OQL query that should be used to retrieve records to process.
 void init(java.util.Properties props)
          Perform any resource initialization.
protected  java.util.Collection loadBatch()
          Push a dummy set of records into the pipeline.
 
Methods inherited from class com.rhi.architecture.parc.adapter.AbstractInputAdapter
addToErrorChannel, cleanup, getAuditAgent, getErrors, push, setAuditAgent, setErrorChannel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOInputAdapter

public JDOInputAdapter()
Method Detail

init

public void init(java.util.Properties props)
          throws InitializationException
Perform any resource initialization.

Specified by:
init in interface Adapter
Overrides:
init in class AbstractInputAdapter
Parameters:
props -
Throws:
InitializationException
Since:
1.0

loadBatch

protected java.util.Collection loadBatch()
                                  throws ProcessingException
Push a dummy set of records into the pipeline.

Specified by:
loadBatch in class AbstractInputAdapter
Returns:
Collection
Throws:
ProcessingException
Since:
1.0

getQuery

protected java.lang.String getQuery()
Return a String representing the OQL query that should be used to retrieve records to process. In the simple case, this class can be used as is, and the OQL is specified in the application properties file. However, if a more complex OQL string is required, this is overridable.

Returns:
The OQL to execute.
Since:
1.0


Copyright © 2002-2004 Robert Half International. All Rights Reserved.