com.rhi.architecture.parc.adapter.xml
Class XMLInputAdapter

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

public class XMLInputAdapter
extends AbstractInputAdapter

Castor XML based InputAdapter. I still need to test performance, but the ease of use is phenominal.

Since:
1.0
Author:
Pete McKinstry

Constructor Summary
XMLInputAdapter()
           
 
Method Summary
 void cleanup()
          Perform any resource finalization.
 void init(java.util.Properties props)
          Perform any resource initialization.
protected  java.util.Collection loadBatch()
          Retrieve the batch.
 
Methods inherited from class com.rhi.architecture.parc.adapter.AbstractInputAdapter
addToErrorChannel, 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

XMLInputAdapter

public XMLInputAdapter()
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

cleanup

public void cleanup()
Perform any resource finalization.

Specified by:
cleanup in interface Adapter
Overrides:
cleanup in class AbstractInputAdapter
Since:
1.0

loadBatch

protected java.util.Collection loadBatch()
                                  throws ProcessingException
Retrieve the batch.

Specified by:
loadBatch in class AbstractInputAdapter
Returns:
Collection - the records bound for the channel.
Throws:
ProcessingException
Since:
1.0


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