Package cz.metacentrum.perun.core.impl
Class PerunTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.jdbc.datasource.DataSourceTransactionManager
cz.metacentrum.perun.core.impl.PerunTransactionManager
- All Implemented Interfaces:
Serializable
,InitializingBean
,ConfigurableTransactionManager
,PlatformTransactionManager
,ResourceTransactionManager
,TransactionManager
public class PerunTransactionManager
extends DataSourceTransactionManager
implements ResourceTransactionManager, InitializingBean
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
AbstractPlatformTransactionManager.SuspendedResourcesHolder
-
Field Summary
Fields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doBegin
(Object transaction, TransactionDefinition definition) protected void
doCleanupAfterCompletion
(Object transaction) protected void
doCommit
(DefaultTransactionStatus status) protected void
doRollback
(DefaultTransactionStatus status) void
setAuditer
(Auditer auditer) Methods inherited from class org.springframework.jdbc.datasource.DataSourceTransactionManager
afterPropertiesSet, doGetTransaction, doResume, doSetRollbackOnly, doSuspend, getDataSource, getResourceFactory, isEnforceReadOnly, isExistingTransaction, obtainDataSource, prepareTransactionalConnection, setDataSource, setEnforceReadOnly, translateException
Methods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
commit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionExecutionListeners, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, prepareForCommit, prepareSynchronization, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionExecutionListeners, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, shouldCommitOnGlobalRollbackOnly, suspend, triggerBeforeCommit, triggerBeforeCompletion, useSavepointForNestedTransaction
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.transaction.ConfigurableTransactionManager
addListener
Methods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
Methods inherited from interface org.springframework.transaction.PlatformTransactionManager
commit, getTransaction, rollback
Methods inherited from interface org.springframework.transaction.support.ResourceTransactionManager
getResourceFactory
-
Constructor Details
-
PerunTransactionManager
public PerunTransactionManager()
-
-
Method Details
-
doBegin
- Overrides:
doBegin
in classDataSourceTransactionManager
-
doCleanupAfterCompletion
- Overrides:
doCleanupAfterCompletion
in classDataSourceTransactionManager
-
doCommit
- Overrides:
doCommit
in classDataSourceTransactionManager
-
doRollback
- Overrides:
doRollback
in classDataSourceTransactionManager
-
getAuditer
-
setAuditer
-