接口的使用
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中的类 修饰符和类型 类 说明 classCciLocalTransactionManagerPlatformTransactionManagerimplementation that manages local transactions for a single CCI ConnectionFactory.org.springframework.jdbc.datasource中TransactionManager的使用
实现TransactionManager的org.springframework.jdbc.datasource中的类 修饰符和类型 类 说明 classDataSourceTransactionManagerPlatformTransactionManagerimplementation for a single JDBCDataSource.org.springframework.jms.connection中TransactionManager的使用
实现TransactionManager的org.springframework.jms.connection中的类 修饰符和类型 类 说明 classJmsTransactionManagerPlatformTransactionManagerimplementation for a single JMSConnectionFactory.org.springframework.orm.hibernate5中TransactionManager的使用
实现TransactionManager的org.springframework.orm.hibernate5中的类 修饰符和类型 类 说明 classHibernateTransactionManagerPlatformTransactionManagerimplementation for a single HibernateSessionFactory.org.springframework.orm.jpa中TransactionManager的使用
实现TransactionManager的org.springframework.orm.jpa中的类 修饰符和类型 类 说明 classJpaTransactionManagerPlatformTransactionManagerimplementation for a single JPAEntityManagerFactory.org.springframework.transaction中TransactionManager的使用
org.springframework.transaction中TransactionManager的子接口 修饰符和类型 接口 说明 interfacePlatformTransactionManagerThis is the central interface in Spring's imperative transaction infrastructure.interfaceReactiveTransactionManagerThis is the central interface in Spring's reactive transaction infrastructure.org.springframework.transaction.annotation中TransactionManager的使用
声明为TransactionManager的org.springframework.transaction.annotation中的字段 修饰符和类型 字段 说明 protected TransactionManagerAbstractTransactionManagementConfiguration. txManagerDefault transaction manager, as configured through aTransactionManagementConfigurer.返回TransactionManager的org.springframework.transaction.annotation中的方法 修饰符和类型 方法 说明 TransactionManagerTransactionManagementConfigurer. annotationDrivenTransactionManager()Return the default transaction manager bean to use for annotation-driven database transaction management, i.e. when processing@Transactionalmethods.org.springframework.transaction.interceptor中TransactionManager的使用
返回TransactionManager的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 protected TransactionManagerTransactionAspectSupport. determineTransactionManager(TransactionAttribute txAttr)Determine the specific transaction manager to use for the given transaction.TransactionManagerTransactionAspectSupport. getTransactionManager()Return the default transaction manager, ornullif unknown.参数类型为TransactionManager的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 voidTransactionAspectSupport. 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中的类 修饰符和类型 类 说明 classJtaTransactionManagerPlatformTransactionManagerimplementation for JTA, delegating to a backend JTA provider.classWebLogicJtaTransactionManagerSpecialJtaTransactionManagervariant for BEA WebLogic (9.0 and higher).classWebSphereUowTransactionManagerWebSphere-specific PlatformTransactionManager implementation that delegates to aUOWManagerinstance, obtained from WebSphere's JNDI environment.org.springframework.transaction.reactive中TransactionManager的使用
实现TransactionManager的org.springframework.transaction.reactive中的类 修饰符和类型 类 说明 classAbstractReactiveTransactionManagerAbstract 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的子接口 修饰符和类型 接口 说明 interfaceCallbackPreferringPlatformTransactionManagerExtension of thePlatformTransactionManagerinterface, exposing a method for executing a given callback within a transaction.interfaceResourceTransactionManagerExtension of thePlatformTransactionManagerinterface, indicating a native resource transaction manager, operating on a single target resource.实现TransactionManager的org.springframework.transaction.support中的类 修饰符和类型 类 说明 classAbstractPlatformTransactionManagerAbstract base class that implements Spring's standard transaction workflow, serving as basis for concrete platform transaction managers likeJtaTransactionManager.