Class PseudoTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.integration.transaction.PseudoTransactionManager
- All Implemented Interfaces:
- Serializable,- ConfigurableTransactionManager,- PlatformTransactionManager,- TransactionManager
An implementation of 
PlatformTransactionManager
 that provides transaction-like semantics to
 MessageSources that are not inherently
 transactional. It does not make such
 sources transactional; rather, together with a TransactionSynchronizationFactory, it provides
 the ability to synchronize operations after a flow completes, via beforeCommit, afterCommit and
 afterRollback operations.- Since:
- 2.2
- Author:
- Gary Russell, Oleg Zhurakousky
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManagerAbstractPlatformTransactionManager.SuspendedResourcesHolder
- 
Field SummaryFields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManagerlogger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddoBegin(Object transaction, TransactionDefinition definition) protected voiddoCommit(DefaultTransactionStatus status) protected Objectprotected voiddoRollback(DefaultTransactionStatus status) Methods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManagercommit, determineTimeout, doCleanupAfterCompletion, doResume, doSetRollbackOnly, doSuspend, getDefaultTimeout, getTransaction, getTransactionExecutionListeners, getTransactionSynchronization, invokeAfterCompletion, isExistingTransaction, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, prepareForCommit, prepareSynchronization, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionExecutionListeners, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, shouldCommitOnGlobalRollbackOnly, suspend, triggerBeforeCommit, triggerBeforeCompletion, useSavepointForNestedTransactionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.ConfigurableTransactionManageraddListener
- 
Constructor Details- 
PseudoTransactionManagerpublic PseudoTransactionManager()
 
- 
- 
Method Details- 
doGetTransaction- Specified by:
- doGetTransactionin class- AbstractPlatformTransactionManager
- Throws:
- TransactionException
 
- 
doBeginprotected void doBegin(Object transaction, TransactionDefinition definition) throws TransactionException - Specified by:
- doBeginin class- AbstractPlatformTransactionManager
- Throws:
- TransactionException
 
- 
doCommit- Specified by:
- doCommitin class- AbstractPlatformTransactionManager
- Throws:
- TransactionException
 
- 
doRollback- Specified by:
- doRollbackin class- AbstractPlatformTransactionManager
- Throws:
- TransactionException
 
 
-