|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BeanTransactionPolicy
BeanTransactionPolicy is an extension to the TransactionPolicy which provides operations for controlling a JEE bean managed transaction.
| Nested Class Summary | |
|---|---|
static interface |
BeanTransactionPolicy.SuspendedTransaction
Represents a suspended transaction. |
| Nested classes/interfaces inherited from interface org.apache.openejb.core.transaction.TransactionPolicy |
|---|
TransactionPolicy.TransactionSynchronization |
| Method Summary | |
|---|---|
UserTransaction |
getUserTransaction()
Gets the UserTransaction the bean uses to manage the transaction. |
void |
resumeUserTransaction(BeanTransactionPolicy.SuspendedTransaction suspendedTransaction)
Resumes the transaction contained in the suspended transaction token. |
BeanTransactionPolicy.SuspendedTransaction |
suspendUserTransaction()
Syspends the bean managed transaction. |
| Methods inherited from interface org.apache.openejb.core.transaction.TransactionPolicy |
|---|
commit, enlistResource, getResource, getTransactionType, isClientTransaction, isNewTransaction, isRollbackOnly, isTransactionActive, putResource, registerSynchronization, removeResource, setRollbackOnly, setRollbackOnly |
| Method Detail |
|---|
UserTransaction getUserTransaction()
BeanTransactionPolicy.SuspendedTransaction suspendUserTransaction()
throws SystemException
SystemException - if there was a problem suspending the
transaction
void resumeUserTransaction(BeanTransactionPolicy.SuspendedTransaction suspendedTransaction)
throws SystemException
suspendedTransaction - the transaction to resume; not null
SystemException - if there was a problem resuming the transaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||