com.rhi.architecture.parc
Interface Adapter

All Known Subinterfaces:
InputAdapter, OutputAdapter
All Known Implementing Classes:
AbstractInputAdapter, AbstractOutputAdapter

public interface Adapter

Interface for all adapters.

Since:
1.0
Author:
Pete McKinstry

Method Summary
 void cleanup()
          Perform any cleanup.
 AuditAgent getAuditAgent()
          get audit agent
 void init(java.util.Properties props)
          Initialization of the Adapter
 void setAuditAgent(AuditAgent agent)
          Set method to tell the InputAdapter what audit agent to use.
 

Method Detail

setAuditAgent

public void setAuditAgent(AuditAgent agent)
Set method to tell the InputAdapter what audit agent to use. The input Adapter creates the initial audit record w/ the # of records being processed.

Parameters:
agent -
Since:
1.0

getAuditAgent

public AuditAgent getAuditAgent()
get audit agent

Returns:
AuditAgent
Since:
1.0

init

public void init(java.util.Properties props)
          throws InitializationException
Initialization of the Adapter

Parameters:
props -
Throws:
InitializationException - - an error occured while configuring the output adapter. This will cause the application to shutdown.
Since:
1.0

cleanup

public void cleanup()
Perform any cleanup. Called by PARCApplication during application shutdown. Since the application is shutting down when cleanup is called, there are no checked exceptions thrown from this method. Cleanup failures should be able to be ignored.

Since:
1.0


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