|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.transaction.TransactionControl
public final class TransactionControl
Provide support to transactions to manage sets of actions to perform at transaction boundaries.
Add rollback of savepoints? TODO: A
| Field Summary | |
|---|---|
private java.util.ArrayList |
listeners
|
| Constructor Summary | |
|---|---|
TransactionControl()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.util.ArrayList listeners
| Constructor Detail |
|---|
public TransactionControl()
| Method Detail |
|---|
public void addListener(TransactionListener listener)
public void removeListener(TransactionListener listener)
public void preCommitNotify()
throws StandardException
StandardException
public void preRollbackNotify()
throws StandardException
StandardException
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||