Sun Adapter for Batch/FTP

com.stc.connector.batchadapter.system
Class BatchInboundWork

java.lang.Object
  extended by com.stc.connector.batchadapter.system.BatchInboundWork
All Implemented Interfaces:
java.lang.Runnable, javax.resource.spi.work.Work

public class BatchInboundWork
extends java.lang.Object
implements javax.resource.spi.work.Work

DOCUMENT ME!

Author:
jtran

Constructor Summary
BatchInboundWork(BatchEndpoint batchASin)
           
 
Method Summary
 void release()
          The WorkManager might call this method to hint the active Work instance to complete execution as soon as possible.
 void run()
          Main processing method for the BatchInboundWork object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchInboundWork

public BatchInboundWork(BatchEndpoint batchASin)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

release

public void release()
The WorkManager might call this method to hint the active Work instance to complete execution as soon as possible. This would be called on a seperate thread other than the one currently executing the Work instance.

Specified by:
release in interface javax.resource.spi.work.Work

run

public void run()
Main processing method for the BatchInboundWork object

Specified by:
run in interface java.lang.Runnable

Sun Adapter for Batch/FTP