|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.icatch.jaxb.wsa.TransactionScopedAddressMapEntry
public class TransactionScopedAddressMapEntry
A utility class to register addresses for the duration of a transaction.
| Constructor Summary | |
|---|---|
TransactionScopedAddressMapEntry(CompositeTransaction ct,
OutgoingAddressingHeaders address,
Map tidToAddressMap)
Creates and registers in the map and with the tx. |
|
| Method Summary | |
|---|---|
void |
afterCompletion(Object txstate)
Called after the overall outcome is known. |
void |
beforeCompletion()
Called before prepare decision is made. |
static OutgoingAddressingHeaders |
extractAddressFromMap(String tid,
Map tidToAddressMap)
Extracts/removes from the given map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionScopedAddressMapEntry(CompositeTransaction ct,
OutgoingAddressingHeaders address,
Map tidToAddressMap)
ct - The transaction whose completion terminates this entryaddress - The address to register in the map, based on the TIDtidToAddressMap - The map to register/remove in| Method Detail |
|---|
public static OutgoingAddressingHeaders extractAddressFromMap(String tid,
Map tidToAddressMap)
tid - tidToAddressMap -
public void beforeCompletion()
Synchronization
beforeCompletion in interface SynchronizationSynchronization.beforeCompletion()public void afterCompletion(Object txstate)
Synchronization
afterCompletion in interface Synchronizationtxstate - The state of the coordinator after preparing.
Equals either null ( readonly ), TxState.COMMITTING or TxState.ABORTING.Synchronization.afterCompletion(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||