com.rhi.architecture.parc
Class PARCApplication

java.lang.Object
  extended bycom.rhi.architecture.batch.AbstractApplication
      extended bycom.rhi.architecture.batch.BatchApplication
          extended bycom.rhi.architecture.parc.PARCApplication
All Implemented Interfaces:
Application

public class PARCApplication
extends BatchApplication

Pipeline Architecture (PARC) Application. Defers execution to a strategy that can provide a number of execution methods. These include Looping, Single Run, etc... The only thing that a concrete PARCApplication class should have to do is setup the pipeline object w/ the appropriate filter(s) and return it via getPipeline()

Since:
1.0
Author:
Pete McKinstry

Field Summary
static java.lang.String CYCLE_STATS
          logger name to use when outputing performance statistics.
 
Fields inherited from interface com.rhi.architecture.batch.Application
FATAL_EXCEPTION, SUCCESS, SUCCESS_WITH_EXCEPTION
 
Constructor Summary
PARCApplication()
          default constructor
 
Method Summary
protected  void doCleanup()
          Perform any cleanup required before the application exits.
protected  void doInit()
          Configure the InterfaceApplication w/ the appropriate framework implementation classes.
static void main(java.lang.String[] args)
          Main() - calls execute in framework classes.
 void run()
          Defer execution to strategy.
 
Methods inherited from class com.rhi.architecture.batch.BatchApplication
cleanup, getAuditAgent, getProperties, init, isAuditEnabled
 
Methods inherited from class com.rhi.architecture.batch.AbstractApplication
execute, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CYCLE_STATS

public static final java.lang.String CYCLE_STATS
logger name to use when outputing performance statistics.

See Also:
Constant Field Values
Constructor Detail

PARCApplication

public PARCApplication()
default constructor

Since:
1.0
Method Detail

doInit

protected void doInit()
               throws InitializationException
Configure the InterfaceApplication w/ the appropriate framework implementation classes. (strategy, inputadapter, outputadapter). Be very selective about what goes in this method. It is called after some of the other batch architecture is initialized; specifically, the super classes, and audit agent. If you re-configure or add new elements here, those classes will not see them.

Specified by:
doInit in class BatchApplication
Throws:
InitializationException
Since:
1.0.

run

public void run()
         throws ApplicationException
Defer execution to strategy.

Specified by:
run in class AbstractApplication
Throws:
ApplicationException
Since:
1.0

doCleanup

protected void doCleanup()
Perform any cleanup required before the application exits.

Specified by:
doCleanup in class BatchApplication
Since:
1.0

main

public static void main(java.lang.String[] args)
Main() - calls execute in framework classes.

Since:
1.0


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