bitronix.tm.twopc.executor
Class Job

java.lang.Object
  extended by bitronix.tm.twopc.executor.Job
All Implemented Interfaces:
java.lang.Runnable

public abstract class Job
extends java.lang.Object
implements java.lang.Runnable

Abstract job definition executable by the 2PC thread pools.

© Bitronix Software

Author:
lorban

Field Summary
protected  java.lang.RuntimeException runtimeException
           
protected  javax.transaction.xa.XAException xaException
           
 
Constructor Summary
Job(XAResourceHolderState resourceHolder)
           
 
Method Summary
 java.lang.Object getFuture()
           
 XAResourceHolderState getResource()
           
 java.lang.RuntimeException getRuntimeException()
           
 javax.transaction.xa.XAException getXAException()
           
 void setFuture(java.lang.Object future)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

xaException

protected javax.transaction.xa.XAException xaException

runtimeException

protected java.lang.RuntimeException runtimeException
Constructor Detail

Job

public Job(XAResourceHolderState resourceHolder)
Method Detail

getResource

public XAResourceHolderState getResource()

getXAException

public javax.transaction.xa.XAException getXAException()

getRuntimeException

public java.lang.RuntimeException getRuntimeException()

setFuture

public void setFuture(java.lang.Object future)

getFuture

public java.lang.Object getFuture()