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, doCleanupAfterCompletion, doResume, doSetRollbackOnly, doSuspend, getDefaultTimeout, getTransaction, getTransactionSynchronization, invokeAfterCompletion, isExistingTransaction, 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
Copyright © 2009 SpringSource. All Rights Reserved.