|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.resource.spi.work.ExecutionContext
An execution context provides context information for work, e.g. transaction, security, etc.
| Constructor Summary | |
ExecutionContext()
|
|
| Method Summary | |
long |
getTransactionTimeout()
Get the transaction timeout |
Xid |
getXid()
Get the xid |
void |
setTransactionTimeout(long timeout)
Set the transaction timeout |
void |
setXid(Xid xid)
Set the xid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExecutionContext()
| Method Detail |
public Xid getXid()
public void setXid(Xid xid)
xid - the xidpublic long getTransactionTimeout()
public void setTransactionTimeout(long timeout)
throws NotSupportedException
timeout - the timeout
NotSupportedException - for an invalid timeout
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||