public interface ITransactionBinding<C extends IPhynixxConnection>
| Modifier and Type | Method and Description |
|---|---|
void |
activateGlobalTransaction(org.csc.phynixx.xa.GlobalTransactionProxy<C> proxy)
Xid is added to the list of accociated XA and becomes the active XA the
former active XID is deactivated.
|
void |
activateLocalTransaction(org.csc.phynixx.xa.LocalTransactionProxy<C> proxy) |
void |
close() |
org.csc.phynixx.xa.GlobalTransactionProxy<C> |
getEnlistedGlobalTransaction() |
org.csc.phynixx.xa.LocalTransactionProxy<C> |
getEnlistedLocalTransaction()
Lid reference an Entry in the
LocalTransactionProxy |
IPhynixxManagedConnection<C> |
getManagedConnection() |
TransactionBindingType |
getTransactionBindingType()
current state
|
boolean |
isGlobalTransaction() |
boolean |
isLocalTransaction() |
void |
release()
gibt die Bindung an die Transaction frei.
|
IPhynixxManagedConnection<C> getManagedConnection()
null if no transaction is associatedTransactionBindingType getTransactionBindingType()
boolean isLocalTransaction()
boolean isGlobalTransaction()
org.csc.phynixx.xa.GlobalTransactionProxy<C> getEnlistedGlobalTransaction()
IllegalStateException - isGlobalTransaction()==falseorg.csc.phynixx.xa.LocalTransactionProxy<C> getEnlistedLocalTransaction()
LocalTransactionProxyIllegalStateException - isLocalTransaction()==falsevoid activateGlobalTransaction(org.csc.phynixx.xa.GlobalTransactionProxy<C> proxy)
void activateLocalTransaction(org.csc.phynixx.xa.LocalTransactionProxy<C> proxy)
void release()
TransactionBindingType.NoTransactionvoid close()
Copyright © 2017. All rights reserved.