|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionContext
Provides access to the transaction runtime context of the beanlet instance.
| Method Summary | |
|---|---|
boolean |
getRollbackOnly()
Test if the transaction has been marked for rollback only. |
UserTransaction |
getUserTransaction()
Obtain the transaction demarcation interface. |
void |
setRollbackOnly()
Mark the current transaction for rollback. |
| Method Detail |
|---|
void setRollbackOnly()
throws BeanletStateException
BeanletStateException - if the current thread is not associated
with a transaction.
BeanletStateException - if operation could not be performed due to
invalid state.
boolean getRollbackOnly()
throws BeanletStateException
BeanletStateException - if operation could not be performed due to
invalid state.
UserTransaction getUserTransaction()
throws BeanletStateException
BeanletStateException - if no user transaction has been installed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||