Uses of Interface
org.springframework.transaction.TransactionDefinition

Packages that use TransactionDefinition
org.springframework.jca.cci.connection Provides a utility class for easy ConnectionFactory access, a PlatformTransactionManager for local CCI transactions, and various simple ConnectionFactory proxies/adapters. 
org.springframework.jdbc.datasource Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations. 
org.springframework.jms.connection Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter. 
org.springframework.orm.hibernate3 Package providing integration of Hibernate3 with Spring concepts. 
org.springframework.orm.jdo Package providing integration of JDO (Java Date Objects) with Spring concepts. 
org.springframework.orm.jpa Package providing integration of JPA (Java Persistence API) with Spring concepts. 
org.springframework.orm.jpa.vendor Support classes for adapting to specific JPA vendors. 
org.springframework.orm.toplink Package providing integration of Oracle TopLink with Spring concepts. 
org.springframework.test Superclasses for tests requiring Spring application contexts, including support for transactional execution of test cases, with automatic rollback on completion. 
org.springframework.transaction Exception hierarchy for Spring's transaction infrastructure, independent of any specific transaction management system. 
org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation. 
org.springframework.transaction.jta Transaction SPI implementation for JTA. 
org.springframework.transaction.support Support classes for the org.springframework.transaction package. 
 

Uses of TransactionDefinition in org.springframework.jca.cci.connection
 

Methods in org.springframework.jca.cci.connection with parameters of type TransactionDefinition
protected  void CciLocalTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
           
 

Uses of TransactionDefinition in org.springframework.jdbc.datasource
 

Methods in org.springframework.jdbc.datasource with parameters of type TransactionDefinition
protected  void DataSourceTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
          This implementation sets the isolation level but ignores the timeout.
static Integer DataSourceUtils.prepareConnectionForTransaction(Connection con, TransactionDefinition definition)
          Prepare the given Connection with the given transaction semantics.
 

Uses of TransactionDefinition in org.springframework.jms.connection
 

Methods in org.springframework.jms.connection with parameters of type TransactionDefinition
protected  void JmsTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
           
 

Uses of TransactionDefinition in org.springframework.orm.hibernate3
 

Methods in org.springframework.orm.hibernate3 with parameters of type TransactionDefinition
protected  void HibernateTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
           
 

Uses of TransactionDefinition in org.springframework.orm.jdo
 

Methods in org.springframework.orm.jdo with parameters of type TransactionDefinition
 Object JdoDialect.beginTransaction(javax.jdo.Transaction transaction, TransactionDefinition definition)
          Begin the given JDO transaction, applying the semantics specified by the given Spring transaction definition (in particular, an isolation level and a timeout).
 Object DefaultJdoDialect.beginTransaction(javax.jdo.Transaction transaction, TransactionDefinition definition)
          This implementation invokes the standard JDO Transaction.begin method.
protected  void JdoTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
           
 

Uses of TransactionDefinition in org.springframework.orm.jpa
 

Methods in org.springframework.orm.jpa with parameters of type TransactionDefinition
 Object JpaDialect.beginTransaction(javax.persistence.EntityManager entityManager, TransactionDefinition definition)
          Begin the given JPA transaction, applying the semantics specified by the given Spring transaction definition (in particular, an isolation level and a timeout).
 Object DefaultJpaDialect.beginTransaction(javax.persistence.EntityManager entityManager, TransactionDefinition definition)
          This implementation invokes the standard JPA Transaction.begin method.
protected  void JpaTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
           
 

Uses of TransactionDefinition in org.springframework.orm.jpa.vendor
 

Methods in org.springframework.orm.jpa.vendor with parameters of type TransactionDefinition
 Object EclipseLinkJpaDialect.beginTransaction(javax.persistence.EntityManager entityManager, TransactionDefinition definition)
           
 Object TopLinkJpaDialect.beginTransaction(javax.persistence.EntityManager entityManager, TransactionDefinition definition)
           
 Object OpenJpaDialect.beginTransaction(javax.persistence.EntityManager entityManager, TransactionDefinition definition)
           
 Object HibernateJpaDialect.beginTransaction(javax.persistence.EntityManager entityManager, TransactionDefinition definition)
           
 

Uses of TransactionDefinition in org.springframework.orm.toplink
 

Methods in org.springframework.orm.toplink with parameters of type TransactionDefinition
protected  void TopLinkTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
           
 

Uses of TransactionDefinition in org.springframework.test
 

Fields in org.springframework.test declared as TransactionDefinition
protected  TransactionDefinition AbstractTransactionalSpringContextTests.transactionDefinition
          Transaction definition used by this test class: by default, a plain DefaultTransactionDefinition.
 

Methods in org.springframework.test with parameters of type TransactionDefinition
protected  void AbstractTransactionalSpringContextTests.setTransactionDefinition(TransactionDefinition customDefinition)
          Call this method in an overridden ConditionalTestCase.runBare() method to override the transaction attributes that will be used, so that AbstractSingleSpringContextTests.setUp() and AbstractSingleSpringContextTests.tearDown() behavior is modified.
 

Uses of TransactionDefinition in org.springframework.transaction
 

Methods in org.springframework.transaction with parameters of type TransactionDefinition
 TransactionStatus PlatformTransactionManager.getTransaction(TransactionDefinition definition)
          Return a currently active transaction or create a new one, according to the specified propagation behavior.
 

Uses of TransactionDefinition in org.springframework.transaction.interceptor
 

Subinterfaces of TransactionDefinition in org.springframework.transaction.interceptor
 interface TransactionAttribute
          This interface adds a rollbackOn specification to TransactionDefinition.
 

Classes in org.springframework.transaction.interceptor that implement TransactionDefinition
 class DefaultTransactionAttribute
          Transaction attribute that takes the EJB approach to rolling back on runtime, but not checked, exceptions.
 class DelegatingTransactionAttribute
          TransactionAttribute implementation that delegates all calls to a given target TransactionAttribute instance.
 class RuleBasedTransactionAttribute
          TransactionAttribute implementation that works out whether a given exception should cause transaction rollback by applying a number of rollback rules, both positive and negative.
 

Uses of TransactionDefinition in org.springframework.transaction.jta
 

Methods in org.springframework.transaction.jta with parameters of type TransactionDefinition
protected  void JtaTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
           
protected  void WebLogicJtaTransactionManager.doJtaBegin(JtaTransactionObject txObject, TransactionDefinition definition)
           
protected  void OC4JJtaTransactionManager.doJtaBegin(JtaTransactionObject txObject, TransactionDefinition definition)
           
protected  void JtaTransactionManager.doJtaBegin(JtaTransactionObject txObject, TransactionDefinition definition)
          Perform a JTA begin on the JTA UserTransaction or TransactionManager.
 Object WebSphereUowTransactionManager.execute(TransactionDefinition definition, TransactionCallback callback)
           
 

Uses of TransactionDefinition in org.springframework.transaction.support
 

Classes in org.springframework.transaction.support that implement TransactionDefinition
 class DefaultTransactionDefinition
          Default implementation of the TransactionDefinition interface, offering bean-style configuration and sensible default values (PROPAGATION_REQUIRED, ISOLATION_DEFAULT, TIMEOUT_DEFAULT, readOnly=false).
 class TransactionTemplate
          Template class that simplifies programmatic transaction demarcation and transaction exception handling.
 

Methods in org.springframework.transaction.support with parameters of type TransactionDefinition
protected  int AbstractPlatformTransactionManager.determineTimeout(TransactionDefinition definition)
          Determine the actual timeout to use for the given definition.
protected abstract  void AbstractPlatformTransactionManager.doBegin(Object transaction, TransactionDefinition definition)
          Begin a new transaction with semantics according to the given transaction definition.
 Object CallbackPreferringPlatformTransactionManager.execute(TransactionDefinition definition, TransactionCallback callback)
          Execute the action specified by the given callback object within a transaction.
 TransactionStatus AbstractPlatformTransactionManager.getTransaction(TransactionDefinition definition)
          This implementation handles propagation behavior.
protected  DefaultTransactionStatus AbstractPlatformTransactionManager.newTransactionStatus(TransactionDefinition definition, Object transaction, boolean newTransaction, boolean newSynchronization, boolean debug, Object suspendedResources)
          Create a new TransactionStatus for the given arguments, initializing transaction synchronization as appropriate.
 

Constructors in org.springframework.transaction.support with parameters of type TransactionDefinition
DefaultTransactionDefinition(TransactionDefinition other)
          Copy constructor.
TransactionTemplate(PlatformTransactionManager transactionManager, TransactionDefinition transactionDefinition)
          Construct a new TransactionTemplate using the given transaction manager, taking its default settings from the given transaction definition.
 



Copyright © 2002-2008 The Spring Framework.