|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.hk2.config.Transaction
public class Transaction
Simple transaction mechanism for config-api objects
| Constructor Summary | |
|---|---|
Transaction()
|
|
| Method Summary | |
|---|---|
java.util.List<java.beans.PropertyChangeEvent> |
commit()
Commits all participants to this transaction |
void |
rollback()
Rollbacks all participants to this transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Transaction()
| Method Detail |
|---|
public void rollback()
public java.util.List<java.beans.PropertyChangeEvent> commit()
throws RetryableException,
TransactionFailure
RetryableException - if the transaction cannot commit at this time but
could succeed later.
TransactionFailure - if the transaction commit failed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||