public class ContextSourceAndDataSourceTransactionManager
extends org.springframework.jdbc.datasource.DataSourceTransactionManager
Constructor and Description |
---|
ContextSourceAndDataSourceTransactionManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
doBegin(Object transaction,
org.springframework.transaction.TransactionDefinition definition) |
protected void |
doCleanupAfterCompletion(Object transaction) |
protected void |
doCommit(org.springframework.transaction.support.DefaultTransactionStatus status) |
protected Object |
doGetTransaction() |
protected void |
doResume(Object transaction,
Object suspendedResources) |
protected void |
doRollback(org.springframework.transaction.support.DefaultTransactionStatus status) |
protected Object |
doSuspend(Object transaction) |
ContextSource |
getContextSource() |
protected boolean |
isExistingTransaction(Object transaction) |
void |
setContextSource(ContextSource contextSource) |
protected void |
setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy) |
afterPropertiesSet, 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
public ContextSourceAndDataSourceTransactionManager()
protected boolean isExistingTransaction(Object transaction)
isExistingTransaction
in class org.springframework.jdbc.datasource.DataSourceTransactionManager
protected Object doGetTransaction() throws org.springframework.transaction.TransactionException
doGetTransaction
in class org.springframework.jdbc.datasource.DataSourceTransactionManager
org.springframework.transaction.TransactionException
protected void doBegin(Object transaction, org.springframework.transaction.TransactionDefinition definition) throws org.springframework.transaction.TransactionException
doBegin
in class org.springframework.jdbc.datasource.DataSourceTransactionManager
org.springframework.transaction.TransactionException
protected void doCleanupAfterCompletion(Object transaction)
doCleanupAfterCompletion
in class org.springframework.jdbc.datasource.DataSourceTransactionManager
protected void doCommit(org.springframework.transaction.support.DefaultTransactionStatus status) throws org.springframework.transaction.TransactionException
doCommit
in class org.springframework.jdbc.datasource.DataSourceTransactionManager
org.springframework.transaction.TransactionException
protected void doRollback(org.springframework.transaction.support.DefaultTransactionStatus status) throws org.springframework.transaction.TransactionException
doRollback
in class org.springframework.jdbc.datasource.DataSourceTransactionManager
org.springframework.transaction.TransactionException
public ContextSource getContextSource()
public void setContextSource(ContextSource contextSource)
protected void setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy)
protected Object doSuspend(Object transaction) throws org.springframework.transaction.TransactionException
doSuspend
in class org.springframework.jdbc.datasource.DataSourceTransactionManager
org.springframework.transaction.TransactionException
Copyright © 2005–2016 The Spring LDAP Framework. All rights reserved.