org.springframework.batch.support.transaction
Class ResourcelessTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.batch.support.transaction.ResourcelessTransactionManager
- All Implemented Interfaces:
- Serializable, PlatformTransactionManager
public class ResourcelessTransactionManager
- extends AbstractPlatformTransactionManager
- See Also:
- Serialized Form
Methods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager |
commit, determineTimeout, doResume, doSuspend, getDefaultTimeout, getTransaction, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, newTransactionStatus, prepareForCommit, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, 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 |
ResourcelessTransactionManager
public ResourcelessTransactionManager()
doBegin
protected void doBegin(Object transaction,
TransactionDefinition definition)
throws TransactionException
- Specified by:
doBegin
in class AbstractPlatformTransactionManager
- Throws:
TransactionException
doCommit
protected void doCommit(DefaultTransactionStatus status)
throws TransactionException
- Specified by:
doCommit
in class AbstractPlatformTransactionManager
- Throws:
TransactionException
doGetTransaction
protected Object doGetTransaction()
throws TransactionException
- Specified by:
doGetTransaction
in class AbstractPlatformTransactionManager
- Throws:
TransactionException
doRollback
protected void doRollback(DefaultTransactionStatus status)
throws TransactionException
- Specified by:
doRollback
in class AbstractPlatformTransactionManager
- Throws:
TransactionException
isExistingTransaction
protected boolean isExistingTransaction(Object transaction)
throws TransactionException
- Overrides:
isExistingTransaction
in class AbstractPlatformTransactionManager
- Throws:
TransactionException
doSetRollbackOnly
protected void doSetRollbackOnly(DefaultTransactionStatus status)
throws TransactionException
- Overrides:
doSetRollbackOnly
in class AbstractPlatformTransactionManager
- Throws:
TransactionException
doCleanupAfterCompletion
protected void doCleanupAfterCompletion(Object transaction)
- Overrides:
doCleanupAfterCompletion
in class AbstractPlatformTransactionManager
Copyright © 2013 SpringSource. All Rights Reserved.