接口的使用
org.springframework.transaction.TransactionManager
使用TransactionManager的程序包 程序包 说明 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.hibernate5 Package providing integration of Hibernate 5.x with Spring concepts.org.springframework.orm.jpa Package providing integration of JPA (Java Persistence API) with Spring concepts.org.springframework.transaction Spring's core transaction management APIs (independent of any specific transaction management system); an exception hierarchy for Spring's transaction infrastructure; and transaction manager, definition, and status interfaces.org.springframework.transaction.annotation Spring's support for annotation-based transaction demarcation.org.springframework.transaction.interceptor AOP-based solution for declarative transaction demarcation.org.springframework.transaction.jta Transaction SPI implementation for JTA.org.springframework.transaction.reactive Support classes for reactive transaction management.org.springframework.transaction.support Support classes for the org.springframework.transaction package.org.springframework.jca.cci.connection中TransactionManager的使用
实现TransactionManager的org.springframework.jca.cci.connection中的类 修饰符和类型 类 说明 class
CciLocalTransactionManager
PlatformTransactionManager
implementation that manages local transactions for a single CCI ConnectionFactory.org.springframework.jdbc.datasource中TransactionManager的使用
实现TransactionManager的org.springframework.jdbc.datasource中的类 修饰符和类型 类 说明 class
DataSourceTransactionManager
PlatformTransactionManager
implementation for a single JDBCDataSource
.org.springframework.jms.connection中TransactionManager的使用
实现TransactionManager的org.springframework.jms.connection中的类 修饰符和类型 类 说明 class
JmsTransactionManager
PlatformTransactionManager
implementation for a single JMSConnectionFactory
.org.springframework.orm.hibernate5中TransactionManager的使用
实现TransactionManager的org.springframework.orm.hibernate5中的类 修饰符和类型 类 说明 class
HibernateTransactionManager
PlatformTransactionManager
implementation for a single HibernateSessionFactory
.org.springframework.orm.jpa中TransactionManager的使用
实现TransactionManager的org.springframework.orm.jpa中的类 修饰符和类型 类 说明 class
JpaTransactionManager
PlatformTransactionManager
implementation for a single JPAEntityManagerFactory
.org.springframework.transaction中TransactionManager的使用
org.springframework.transaction中TransactionManager的子接口 修饰符和类型 接口 说明 interface
PlatformTransactionManager
This is the central interface in Spring's imperative transaction infrastructure.interface
ReactiveTransactionManager
This is the central interface in Spring's reactive transaction infrastructure.org.springframework.transaction.annotation中TransactionManager的使用
声明为TransactionManager的org.springframework.transaction.annotation中的字段 修饰符和类型 字段 说明 protected TransactionManager
AbstractTransactionManagementConfiguration. txManager
Default transaction manager, as configured through aTransactionManagementConfigurer
.返回TransactionManager的org.springframework.transaction.annotation中的方法 修饰符和类型 方法 说明 TransactionManager
TransactionManagementConfigurer. annotationDrivenTransactionManager()
Return the default transaction manager bean to use for annotation-driven database transaction management, i.e. when processing@Transactional
methods.org.springframework.transaction.interceptor中TransactionManager的使用
返回TransactionManager的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 protected TransactionManager
TransactionAspectSupport. determineTransactionManager(TransactionAttribute txAttr)
Determine the specific transaction manager to use for the given transaction.TransactionManager
TransactionAspectSupport. getTransactionManager()
Return the default transaction manager, ornull
if unknown.参数类型为TransactionManager的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 void
TransactionAspectSupport. setTransactionManager(TransactionManager transactionManager)
Specify the default transaction manager to use to drive transactions.参数类型为TransactionManager的org.springframework.transaction.interceptor中的构造器 构造器 说明 TransactionInterceptor(TransactionManager ptm, TransactionAttributeSource tas)
Create a new TransactionInterceptor.org.springframework.transaction.jta中TransactionManager的使用
实现TransactionManager的org.springframework.transaction.jta中的类 修饰符和类型 类 说明 class
JtaTransactionManager
PlatformTransactionManager
implementation for JTA, delegating to a backend JTA provider.class
WebLogicJtaTransactionManager
SpecialJtaTransactionManager
variant for BEA WebLogic (9.0 and higher).class
WebSphereUowTransactionManager
WebSphere-specific PlatformTransactionManager implementation that delegates to aUOWManager
instance, obtained from WebSphere's JNDI environment.org.springframework.transaction.reactive中TransactionManager的使用
实现TransactionManager的org.springframework.transaction.reactive中的类 修饰符和类型 类 说明 class
AbstractReactiveTransactionManager
Abstract base class that implements Spring's standard reactive transaction workflow, serving as basis for concrete platform transaction managers.org.springframework.transaction.support中TransactionManager的使用
org.springframework.transaction.support中TransactionManager的子接口 修饰符和类型 接口 说明 interface
CallbackPreferringPlatformTransactionManager
Extension of thePlatformTransactionManager
interface, exposing a method for executing a given callback within a transaction.interface
ResourceTransactionManager
Extension of thePlatformTransactionManager
interface, indicating a native resource transaction manager, operating on a single target resource.实现TransactionManager的org.springframework.transaction.support中的类 修饰符和类型 类 说明 class
AbstractPlatformTransactionManager
Abstract base class that implements Spring's standard transaction workflow, serving as basis for concrete platform transaction managers likeJtaTransactionManager
.