|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An object that keeps state information about a transaction in progress.
| Method Summary | |
void |
commit()
Commits the current changes. |
boolean |
isAlive()
Tests to see if the transaction is still active. |
void |
putProperty(java.lang.String property,
java.lang.Object value)
Adds the given property to the event that will be thrown. |
void |
rollback()
Rolls back the transaction. |
ViperChangeEvent[] |
soFar()
Gets a list of events so far. |
| Method Detail |
public void putProperty(java.lang.String property,
java.lang.Object value)
property - the name of the property to changevalue - the value to give the propertypublic void commit()
public void rollback()
public ViperChangeEvent[] soFar()
public boolean isAlive()
true if the transaction hasn't
been rolled back or committed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||