Package org.apache.axis2.transaction
Class Axis2UserTransaction
- java.lang.Object
-
- org.apache.axis2.transaction.Axis2UserTransaction
-
- All Implemented Interfaces:
UserTransaction
public class Axis2UserTransaction extends Object implements UserTransaction
-
-
Constructor Summary
Constructors Constructor Description Axis2UserTransaction(TransactionManager transactionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()voidcommit()intgetStatus()voidrollback()voidsetRollbackOnly()voidsetTransactionTimeout(int i)
-
-
-
Constructor Detail
-
Axis2UserTransaction
public Axis2UserTransaction(TransactionManager transactionManager)
-
-
Method Detail
-
begin
public void begin() throws NotSupportedException, SystemException- Specified by:
beginin interfaceUserTransaction- Throws:
NotSupportedExceptionSystemException
-
commit
public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException- Specified by:
commitin interfaceUserTransaction- Throws:
HeuristicMixedExceptionHeuristicRollbackExceptionIllegalStateExceptionRollbackExceptionSecurityExceptionSystemException
-
getStatus
public int getStatus() throws SystemException- Specified by:
getStatusin interfaceUserTransaction- Throws:
SystemException
-
rollback
public void rollback() throws IllegalStateException, SecurityException, SystemException- Specified by:
rollbackin interfaceUserTransaction- Throws:
IllegalStateExceptionSecurityExceptionSystemException
-
setRollbackOnly
public void setRollbackOnly() throws IllegalStateException, SystemException- Specified by:
setRollbackOnlyin interfaceUserTransaction- Throws:
IllegalStateExceptionSystemException
-
setTransactionTimeout
public void setTransactionTimeout(int i) throws SystemException- Specified by:
setTransactionTimeoutin interfaceUserTransaction- Throws:
SystemException
-
-