| java.lang.Object com.caucho.jca.UserTransactionImpl
UserTransactionImpl | public class UserTransactionImpl implements UserTransaction(Code) | | Implementation of the UserTransactionImpl for a thread instance.
|
allocate | UserPoolItem allocate(ManagedConnectionFactory mcf, Subject subject, ConnectionRequestInfo info)(Code) | | Allocates a resource matching the parameters. If none matches,
return null.
|
begin | public void begin() throws NotSupportedException, SystemException(Code) | | Start the transaction.
|
delistPoolItem | void delistPoolItem(PoolItem poolItem, int flags) throws SystemException, RollbackException(Code) | | Delist a pool item
|
enlistBeginResource | public void enlistBeginResource(BeginResource resource)(Code) | | Enlist a resource automatically called when a transaction begins
|
enlistCloseResource | public void enlistCloseResource(CloseResource resource)(Code) | | Enlist a resource automatically closed when the context ends.
|
enlistResource | void enlistResource(UserPoolItem resource) throws SystemException, RollbackException(Code) | | Enlist a resource.
|
getEnlistedResourceCount | public int getEnlistedResourceCount() throws SystemException, RollbackException(Code) | | Returns the XID.
|
getStatus | public int getStatus() throws SystemException(Code) | | Gets the transaction's status
|
getXid | public Xid getXid() throws SystemException, RollbackException(Code) | | Returns the XID.
|
setRollbackOnly | public void setRollbackOnly() throws IllegalStateException, SystemException(Code) | | Marks the transaction as rollback only.
|
setTransactionTimeout | public void setTransactionTimeout(int seconds) throws SystemException(Code) | | Sets the transaction's timeout.
|
|
|