|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionalResourceManager
Interface for something that makes up a transactional resource manager. Used for user control. Comparable to an XA resource.
| Method Summary | |
|---|---|
boolean |
commitTransaction()
Commits all changes made in the current transaction and deletes the association between the current thread and the transaction. |
void |
rollbackTransaction()
Discards all changes made in the current transaction and deletes the association between the current thread and the transaction. |
void |
startTransaction(long timeout,
TimeUnit unit)
Starts a new transaction and associates it with the current thread. |
| Method Detail |
|---|
void startTransaction(long timeout,
TimeUnit unit)
commitTransaction() is called. Use
rollbackTransaction() to discard your changes. After calling
either method there will be no transaction associated to the current
thread any longer.
commitTransaction(),
rollbackTransaction()void rollbackTransaction()
startTransaction(long, TimeUnit),
commitTransaction()boolean commitTransaction()
startTransaction(long, TimeUnit),
rollbackTransaction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||