javax.resource.spi.work
Class ExecutionContext

java.lang.Object
  extended by javax.resource.spi.work.ExecutionContext

public class ExecutionContext
extends java.lang.Object

The context for a work creation.


Constructor Summary
ExecutionContext()
           
 
Method Summary
 long getTransactionTimeout()
          Returns the timeout
 Xid getXid()
           
 void setTransactionTimeout(long timeout)
          Returns the timeout
 void setXid(Xid xid)
          Sets the transaction id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionContext

public ExecutionContext()
Method Detail

setXid

public void setXid(Xid xid)
Sets the transaction id.


getXid

public Xid getXid()

getTransactionTimeout

public long getTransactionTimeout()
Returns the timeout


setTransactionTimeout

public void setTransactionTimeout(long timeout)
                           throws NotSupportedException
Returns the timeout

Throws:
NotSupportedException