public abstract class AbstractTransactionComponent extends Object implements ComponentInterface
Modifier and Type | Field and Description |
---|---|
protected DataSourceHold |
dataSourceHold |
protected org.springframework.transaction.TransactionDefinition |
transactionDefinition |
protected static ThreadLocal<org.springframework.transaction.TransactionStatus> |
transactionStatusThreadLocal |
Constructor and Description |
---|
AbstractTransactionComponent() |
Modifier and Type | Method and Description |
---|---|
DataSourceHold |
getDataSourceHold() |
org.springframework.jdbc.datasource.DataSourceTransactionManager |
getDataSourceTransactionManager() |
String |
getResultKey() |
void |
setDataSourceHold(DataSourceHold dataSourceHold) |
void |
setResultKey(String resultKey) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected static ThreadLocal<org.springframework.transaction.TransactionStatus> transactionStatusThreadLocal
protected DataSourceHold dataSourceHold
protected org.springframework.transaction.TransactionDefinition transactionDefinition
public String getResultKey()
public void setResultKey(String resultKey)
public DataSourceHold getDataSourceHold()
public void setDataSourceHold(DataSourceHold dataSourceHold)
public org.springframework.jdbc.datasource.DataSourceTransactionManager getDataSourceTransactionManager()
Copyright © 2006–2018 TinyGroup. All rights reserved.