public class UserCompensableImpl extends Object implements UserCompensable, Referenceable, Serializable, CompensableBeanFactoryAware
BEAN_FACTORY_FIELD_NAME| 构造器和说明 |
|---|
UserCompensableImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
begin() |
void |
commit() |
org.bytesoft.transaction.xa.TransactionXid |
compensableBegin() |
void |
compensableCommit() |
void |
compensableRecoveryCommit() |
void |
compensableRecoveryResume(Xid xid) |
void |
compensableRecoveryRollback() |
void |
compensableRecoverySuspend() |
void |
compensableRollback() |
CompensableBeanFactory |
getBeanFactory() |
Reference |
getReference() |
int |
getStatus() |
org.bytesoft.transaction.TransactionManager |
getTransactionManager() |
boolean |
isStatefully() |
void |
rollback() |
void |
setBeanFactory(CompensableBeanFactory beanFactory) |
void |
setRollbackOnly() |
void |
setStatefully(boolean statefully) |
void |
setTransactionManager(org.bytesoft.transaction.TransactionManager transactionManager) |
void |
setTransactionTimeout(int timeout) |
public org.bytesoft.transaction.xa.TransactionXid compensableBegin()
throws NotSupportedException,
SystemException
compensableBegin 在接口中 UserCompensableNotSupportedExceptionSystemExceptionpublic void begin()
throws NotSupportedException,
SystemException
begin 在接口中 UserTransactionNotSupportedExceptionSystemExceptionpublic void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
public void compensableRecoverySuspend()
throws NotSupportedException,
SystemException
public void compensableRecoveryResume(Xid xid) throws NotSupportedException, SystemException
public void compensableRecoveryCommit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
public void compensableCommit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
public void rollback()
throws IllegalStateException,
SecurityException,
SystemException
public void compensableRecoveryRollback()
throws IllegalStateException,
SecurityException,
SystemException
public void compensableRollback()
throws IllegalStateException,
SecurityException,
SystemException
public int getStatus()
throws SystemException
getStatus 在接口中 UserTransactionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly 在接口中 UserTransactionIllegalStateExceptionSystemExceptionpublic void setTransactionTimeout(int timeout)
throws SystemException
setTransactionTimeout 在接口中 UserTransactionSystemExceptionpublic Reference getReference() throws NamingException
getReference 在接口中 ReferenceableNamingExceptionpublic CompensableBeanFactory getBeanFactory()
getBeanFactory 在接口中 CompensableBeanFactoryAwarepublic void setBeanFactory(CompensableBeanFactory beanFactory)
setBeanFactory 在接口中 CompensableBeanFactoryAwarepublic boolean isStatefully()
public void setStatefully(boolean statefully)
public org.bytesoft.transaction.TransactionManager getTransactionManager()
public void setTransactionManager(org.bytesoft.transaction.TransactionManager transactionManager)
Copyright © 2018. All rights reserved.