接口的使用
org.springframework.transaction.PlatformTransactionManager
使用PlatformTransactionManager的程序包 程序包 说明 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.config Support package for declarative messaging configuration, with Java configuration and XML schema support.org.springframework.jms.connection Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter.org.springframework.jms.listener This package contains the base message listener container facility.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.scheduling.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.org.springframework.test.context.transaction Transactional support classes for the Spring TestContext Framework.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.org.springframework.jca.cci.connection中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.jca.cci.connection中的类 修饰符和类型 类 说明 class
CciLocalTransactionManager
PlatformTransactionManager
implementation that manages local transactions for a single CCI ConnectionFactory.org.springframework.jdbc.datasource中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.jdbc.datasource中的类 修饰符和类型 类 说明 class
DataSourceTransactionManager
PlatformTransactionManager
implementation for a single JDBCDataSource
.org.springframework.jms.config中PlatformTransactionManager的使用
参数类型为PlatformTransactionManager的org.springframework.jms.config中的方法 修饰符和类型 方法 说明 void
DefaultJmsListenerContainerFactory. setTransactionManager(PlatformTransactionManager transactionManager)
org.springframework.jms.connection中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.jms.connection中的类 修饰符和类型 类 说明 class
JmsTransactionManager
PlatformTransactionManager
implementation for a single JMSConnectionFactory
.org.springframework.jms.listener中PlatformTransactionManager的使用
返回PlatformTransactionManager的org.springframework.jms.listener中的方法 修饰符和类型 方法 说明 protected PlatformTransactionManager
AbstractPollingMessageListenerContainer. getTransactionManager()
Return the Spring PlatformTransactionManager to use for transactional wrapping of message reception plus listener execution.参数类型为PlatformTransactionManager的org.springframework.jms.listener中的方法 修饰符和类型 方法 说明 void
AbstractPollingMessageListenerContainer. setTransactionManager(PlatformTransactionManager transactionManager)
Specify the SpringPlatformTransactionManager
to use for transactional wrapping of message reception plus listener execution.org.springframework.orm.hibernate5中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.orm.hibernate5中的类 修饰符和类型 类 说明 class
HibernateTransactionManager
PlatformTransactionManager
implementation for a single HibernateSessionFactory
.org.springframework.orm.jpa中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.orm.jpa中的类 修饰符和类型 类 说明 class
JpaTransactionManager
PlatformTransactionManager
implementation for a single JPAEntityManagerFactory
.org.springframework.scheduling.quartz中PlatformTransactionManager的使用
参数类型为PlatformTransactionManager的org.springframework.scheduling.quartz中的方法 修饰符和类型 方法 说明 void
SchedulerAccessor. setTransactionManager(PlatformTransactionManager transactionManager)
Set the transaction manager to be used for registering jobs and triggers that are defined by this SchedulerFactoryBean.org.springframework.test.context.transaction中PlatformTransactionManager的使用
返回PlatformTransactionManager的org.springframework.test.context.transaction中的方法 修饰符和类型 方法 说明 protected PlatformTransactionManager
TransactionalTestExecutionListener. getTransactionManager(TestContext testContext)
Get the transaction manager to use for the supplied test context.protected PlatformTransactionManager
TransactionalTestExecutionListener. getTransactionManager(TestContext testContext, String qualifier)
static PlatformTransactionManager
TestContextTransactionUtils. retrieveTransactionManager(TestContext testContext, String name)
Retrieve the transaction manager to use for the supplied test context.org.springframework.transaction.interceptor中PlatformTransactionManager的使用
返回PlatformTransactionManager的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 PlatformTransactionManager
TransactionAspectSupport.TransactionInfo. getTransactionManager()
参数类型为PlatformTransactionManager的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 protected TransactionAspectSupport.TransactionInfo
TransactionAspectSupport. createTransactionIfNecessary(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification)
Create a transaction if necessary based on the given TransactionAttribute.protected TransactionAspectSupport.TransactionInfo
TransactionAspectSupport. prepareTransactionInfo(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification, TransactionStatus status)
Prepare a TransactionInfo for the given attribute and status object.void
TransactionProxyFactoryBean. setTransactionManager(PlatformTransactionManager transactionManager)
Set the default transaction manager.参数类型为PlatformTransactionManager的org.springframework.transaction.interceptor中的构造器 构造器 说明 TransactionInfo(PlatformTransactionManager transactionManager, TransactionAttribute transactionAttribute, String joinpointIdentification)
TransactionInterceptor(PlatformTransactionManager ptm, Properties attributes)
已过时。as of 5.2.5, in favor ofTransactionAspectSupport.setTransactionAttributes(Properties)
TransactionInterceptor(PlatformTransactionManager ptm, TransactionAttributeSource tas)
已过时。as of 5.2.5, in favor ofTransactionInterceptor(TransactionManager, TransactionAttributeSource)
org.springframework.transaction.jta中PlatformTransactionManager的使用
实现PlatformTransactionManager的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.support中PlatformTransactionManager的使用
org.springframework.transaction.support中PlatformTransactionManager的子接口 修饰符和类型 接口 说明 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.实现PlatformTransactionManager的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
.返回PlatformTransactionManager的org.springframework.transaction.support中的方法 修饰符和类型 方法 说明 PlatformTransactionManager
TransactionTemplate. getTransactionManager()
Return the transaction management strategy to be used.参数类型为PlatformTransactionManager的org.springframework.transaction.support中的方法 修饰符和类型 方法 说明 void
TransactionTemplate. setTransactionManager(PlatformTransactionManager transactionManager)
Set the transaction management strategy to be used.参数类型为PlatformTransactionManager的org.springframework.transaction.support中的构造器 构造器 说明 TransactionTemplate(PlatformTransactionManager transactionManager)
Construct a new TransactionTemplate using the given transaction manager.TransactionTemplate(PlatformTransactionManager transactionManager, TransactionDefinition transactionDefinition)
Construct a new TransactionTemplate using the given transaction manager, taking its default settings from the given transaction definition.