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 void
begin()
void
commit()
int
getStatus()
void
rollback()
void
setRollbackOnly()
void
setTransactionTimeout(int i)
-
-
-
Constructor Detail
-
Axis2UserTransaction
public Axis2UserTransaction(TransactionManager transactionManager)
-
-
Method Detail
-
begin
public void begin() throws NotSupportedException, SystemException
- Specified by:
begin
in interfaceUserTransaction
- Throws:
NotSupportedException
SystemException
-
commit
public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException
- Specified by:
commit
in interfaceUserTransaction
- Throws:
HeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException
-
getStatus
public int getStatus() throws SystemException
- Specified by:
getStatus
in interfaceUserTransaction
- Throws:
SystemException
-
rollback
public void rollback() throws IllegalStateException, SecurityException, SystemException
- Specified by:
rollback
in interfaceUserTransaction
- Throws:
IllegalStateException
SecurityException
SystemException
-
setRollbackOnly
public void setRollbackOnly() throws IllegalStateException, SystemException
- Specified by:
setRollbackOnly
in interfaceUserTransaction
- Throws:
IllegalStateException
SystemException
-
setTransactionTimeout
public void setTransactionTimeout(int i) throws SystemException
- Specified by:
setTransactionTimeout
in interfaceUserTransaction
- Throws:
SystemException
-
-