|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.objectweb.jotm.core.transaction.OnePhaseCommitEvent
One-phase-commit event. This class provides a simple helper implementation
of the one-phase-commit transactional event. I.e., it corresponds to the
TwoPhaseCommitEvent.TYPE_ONE_PHASE_COMMIT event type.
| Field Summary |
| Fields inherited from interface org.objectweb.jotm.core.transaction.TwoPhaseCommitEvent |
TYPE_AFTER_ONE_PHASE_COMMIT, TYPE_AFTER_PREPARE, TYPE_BEFORE_ONE_PHASE_COMMIT, TYPE_BEFORE_PREPARE, TYPE_ONE_PHASE_COMMIT, TYPE_PREPARE, TYPE_SYNCHRONIZATION, TYPE_TWO_PHASE_COMMIT |
| Fields inherited from interface org.objectweb.jotm.core.transaction.TransactionalEvent |
TYPE_ABORT, TYPE_AFTER_ABORT, TYPE_AFTER_COMMIT, TYPE_AFTER_COMPLETION, TYPE_BEFORE_ABORT, TYPE_BEFORE_COMMIT, TYPE_BEFORE_COMPLETION, TYPE_COMMIT |
| Constructor Summary | |
OnePhaseCommitEvent(BasicTransaction iTx)
|
|
| Method Summary | |
BasicTransaction |
getTransaction()
Get corresponding transaction. |
int |
getType()
Get transactional event type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OnePhaseCommitEvent(BasicTransaction iTx)
| Method Detail |
public int getType()
TransactionalEventTransactionalEvent.
getType in interface TransactionalEventpublic BasicTransaction getTransaction()
TransactionalEventTransactionalEvent.
- Specified by:
getTransaction in interface TransactionalEvent
- Returns:
- transaction that is the source of this transactional event
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||