public class ContextSourceAndDataSourceTransactionManager extends DataSourceTransactionManager
AbstractPlatformTransactionManager.SuspendedResourcesHolder
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
Constructor and Description |
---|
ContextSourceAndDataSourceTransactionManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected void |
doBegin(Object transaction,
TransactionDefinition definition)
Deprecated.
|
protected void |
doCleanupAfterCompletion(Object transaction)
Deprecated.
|
protected void |
doCommit(DefaultTransactionStatus status)
Deprecated.
|
protected Object |
doGetTransaction()
Deprecated.
|
protected void |
doResume(Object transaction,
Object suspendedResources)
Deprecated.
|
protected void |
doRollback(DefaultTransactionStatus status)
Deprecated.
|
protected Object |
doSuspend(Object transaction)
Deprecated.
|
ContextSource |
getContextSource()
Deprecated.
|
protected boolean |
isExistingTransaction(Object transaction)
Deprecated.
|
void |
setContextSource(ContextSource contextSource)
Deprecated.
|
void |
setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy)
Deprecated.
|
doSetRollbackOnly, getDataSource, getResourceFactory, setDataSource
commit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, newTransactionStatus, prepareForCommit, prepareSynchronization, prepareTransactionStatus, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, shouldCommitOnGlobalRollbackOnly, suspend, triggerBeforeCommit, triggerBeforeCompletion, useSavepointForNestedTransaction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commit, getTransaction, rollback
public ContextSourceAndDataSourceTransactionManager()
protected boolean isExistingTransaction(Object transaction)
isExistingTransaction
in class DataSourceTransactionManager
protected Object doGetTransaction()
doGetTransaction
in class DataSourceTransactionManager
protected void doBegin(Object transaction, TransactionDefinition definition)
doBegin
in class DataSourceTransactionManager
protected void doCleanupAfterCompletion(Object transaction)
doCleanupAfterCompletion
in class DataSourceTransactionManager
protected void doCommit(DefaultTransactionStatus status)
doCommit
in class DataSourceTransactionManager
protected void doRollback(DefaultTransactionStatus status)
doRollback
in class DataSourceTransactionManager
public ContextSource getContextSource()
public void setContextSource(ContextSource contextSource)
public void setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy)
protected Object doSuspend(Object transaction)
doSuspend
in class DataSourceTransactionManager
protected void doResume(Object transaction, Object suspendedResources)
doResume
in class DataSourceTransactionManager
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class DataSourceTransactionManager