public final class TransactionControl
extends java.lang.Object
Add rollback of savepoints? TODO: A
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList |
listeners |
| Constructor and Description |
|---|
TransactionControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(TransactionListener listener)
Add a listener to the curent transaction.
|
void |
preCommitNotify()
Notify all listeners that a commit is about to occur.
|
void |
preRollbackNotify()
Notify all listeners that a rollback is about to occur.
|
void |
removeListener(TransactionListener listener)
Remove a listener from the current transaction.
|
public void addListener(TransactionListener listener)
public void removeListener(TransactionListener listener)
public void preCommitNotify()
throws StandardException
StandardExceptionpublic void preRollbackNotify()
throws StandardException
StandardExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.