|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tyrex.tm.impl.XAResourceHelper | +--tyrex.tm.impl.InformixXAResourceHelper
This class describes various methods to help the transaction manipulate XA resources from Informix.
Constructor Summary | |
InformixXAResourceHelper()
Default constructor |
Method Summary | |
boolean |
treatDifferentBranchesForSharedResourcesAsShared()
Return true if shared xa resources can be treated as shared even if they use different branches so that these xa resources are not prepared/committed separately even if they don't have the same xid. |
boolean |
useDifferentBranchesForSharedResources()
Return true if shared xa resources must use different branches when enlisted in the transaction.The resource may still be treated as shared in that prepare/commit is only called once on a single xa resource (@see #treatDifferentBranchesForSharedResourcesAsShared}). |
Methods inherited from class tyrex.tm.impl.XAResourceHelper |
getXAErrorString, getXid |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public InformixXAResourceHelper()
Method Detail |
public boolean useDifferentBranchesForSharedResources()
useDifferentBranchesForSharedResources
in class XAResourceHelper
treatDifferentBranchesForSharedResourcesAsShared()
public boolean treatDifferentBranchesForSharedResourcesAsShared()
useDifferentBranchesForSharedResources()
returns true.
The default implementation returns false.treatDifferentBranchesForSharedResourcesAsShared
in class XAResourceHelper
useDifferentBranchesForSharedResources()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |