Class Transactions.Synchronization
java.lang.Object
com.codename1.backend.Transactions.Synchronization
- Enclosing class:
Transactions
Hooks run synchronously in registration order, once per physical
transaction (including a scope that never borrowed a connection).
Override only the hooks needed. Before-commit failures prevent commit;
after-commit failures are reported after all completion hooks run.
Completion failures are logged and do not replace the original failure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidafterCompletion(Transactions.Outcome outcome) voidbeforeCommit(boolean readOnly)
-
Constructor Details
-
Synchronization
public Synchronization()
-
-
Method Details
-
beforeCommit
public void beforeCommit(boolean readOnly) -
afterCommit
public void afterCommit() -
afterCompletion
-