|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionIntegrity
A policy that checks a transaction before allowing a commit
Method Summary | |
---|---|
void |
checkTransactionIntegrity(TransactionImpl transaction)
Checks whether a transaction can be committed. |
Method Detail |
---|
void checkTransactionIntegrity(TransactionImpl transaction)
The policy is allowed to wait, e.g. if there are other threads still associated with the transaction.
This method is invoked before any transaction synchronizations' beforeCompletions.
This policy should not invoke any methods that change the
state of the transaction other than setRollbackOnly()
to force a rollback or registering a transaction synchronization.
transaction
- the transaction
SecurityException
- if a commit is not allowed from this context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |