com.etasoft.trans.transaction
Class axTransactionRunner

java.lang.Object
  extended bycom.etasoft.trans.transaction.axTransactionRunner
All Implemented Interfaces:
java.lang.Runnable

public final class axTransactionRunner
extends java.lang.Object
implements java.lang.Runnable

Transaction runner, can be invoked as separate thread or run in the same thread if called via run method.


Constructor Summary
axTransactionRunner(axMap map, java.lang.String strMapFileName, axInputParameters inputParameters)
          Create runner based on map, map file and input parameters and set license key to default.
axTransactionRunner(axMap map, java.lang.String strMapFileName, axInputParameters inputParameters, int licenseTypeRequired)
          Create runner based on map and input parameters.
axTransactionRunner(java.lang.String strMapFileName, axInputParameters inputParameters)
          Create runner based on map file and input parameters and set license key to default.
axTransactionRunner(java.lang.String strMapFileName, axInputParameters inputParameters, int licenseTypeRequired)
          Create runner based on map file and input parameters.
 
Method Summary
 void clear()
          Clear transaction.
 com.etasoft.trans.runtime.axIDFFrame getIDFFrame()
          Get processing frame back.
 axInfoList getInfoList()
          Get processing errors and warnings back.
 void run()
          Transaction execution in a separate thread.
 void runMap()
          Transaction execution.
 void setLogWriter(java.lang.String logInit, int logWriterType, com.etasoft.trans.runtime.axRunEventSink runEventSink, boolean logging)
          Initialize log.
 void setRunEventSink(com.etasoft.trans.runtime.axRunEventSink runEventSink)
          Set run event sink.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axTransactionRunner

public axTransactionRunner(axMap map,
                           java.lang.String strMapFileName,
                           axInputParameters inputParameters,
                           int licenseTypeRequired)
Create runner based on map and input parameters.


axTransactionRunner

public axTransactionRunner(java.lang.String strMapFileName,
                           axInputParameters inputParameters,
                           int licenseTypeRequired)
Create runner based on map file and input parameters.


axTransactionRunner

public axTransactionRunner(axMap map,
                           java.lang.String strMapFileName,
                           axInputParameters inputParameters)
Create runner based on map, map file and input parameters and set license key to default.


axTransactionRunner

public axTransactionRunner(java.lang.String strMapFileName,
                           axInputParameters inputParameters)
Create runner based on map file and input parameters and set license key to default.

Method Detail

setLogWriter

public void setLogWriter(java.lang.String logInit,
                         int logWriterType,
                         com.etasoft.trans.runtime.axRunEventSink runEventSink,
                         boolean logging)
Initialize log.


setRunEventSink

public void setRunEventSink(com.etasoft.trans.runtime.axRunEventSink runEventSink)
Set run event sink.


clear

public void clear()
Clear transaction.


getIDFFrame

public com.etasoft.trans.runtime.axIDFFrame getIDFFrame()
Get processing frame back.


getInfoList

public axInfoList getInfoList()
Get processing errors and warnings back.


run

public void run()
Transaction execution in a separate thread.

Specified by:
run in interface java.lang.Runnable

runMap

public void runMap()
            throws java.lang.Throwable
Transaction execution.

Throws:
java.lang.Throwable