public class XATransactions extends TransactionSupport
| Constructor and Description |
|---|
XATransactions(boolean useTransactionCaching,
boolean useThreadCaching) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionInterceptor |
addTransactionInterceptors(ConnectionInterceptor stack,
TransactionManager transactionManager) |
ConnectionInterceptor |
addXAResourceInsertionInterceptor(ConnectionInterceptor stack,
String name) |
boolean |
isRecoverable() |
boolean |
isUseThreadCaching() |
boolean |
isUseTransactionCaching() |
void |
setUseThreadCaching(boolean useThreadCaching) |
void |
setUseTransactionCaching(boolean useTransactionCaching) |
public XATransactions(boolean useTransactionCaching,
boolean useThreadCaching)
public boolean isUseTransactionCaching()
public void setUseTransactionCaching(boolean useTransactionCaching)
public boolean isUseThreadCaching()
public void setUseThreadCaching(boolean useThreadCaching)
public ConnectionInterceptor addXAResourceInsertionInterceptor(ConnectionInterceptor stack, String name)
addXAResourceInsertionInterceptor in class TransactionSupportpublic ConnectionInterceptor addTransactionInterceptors(ConnectionInterceptor stack, TransactionManager transactionManager)
addTransactionInterceptors in class TransactionSupportpublic boolean isRecoverable()
isRecoverable in class TransactionSupportCopyright © 2023. All rights reserved.