接口的使用
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中的类 修饰符和类型 类 说明 classCciLocalTransactionManagerPlatformTransactionManagerimplementation that manages local transactions for a single CCI ConnectionFactory.org.springframework.jdbc.datasource中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.jdbc.datasource中的类 修饰符和类型 类 说明 classDataSourceTransactionManagerPlatformTransactionManagerimplementation for a single JDBCDataSource.org.springframework.jms.config中PlatformTransactionManager的使用
参数类型为PlatformTransactionManager的org.springframework.jms.config中的方法 修饰符和类型 方法 说明 voidDefaultJmsListenerContainerFactory. setTransactionManager(PlatformTransactionManager transactionManager)org.springframework.jms.connection中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.jms.connection中的类 修饰符和类型 类 说明 classJmsTransactionManagerPlatformTransactionManagerimplementation for a single JMSConnectionFactory.org.springframework.jms.listener中PlatformTransactionManager的使用
返回PlatformTransactionManager的org.springframework.jms.listener中的方法 修饰符和类型 方法 说明 protected PlatformTransactionManagerAbstractPollingMessageListenerContainer. getTransactionManager()Return the Spring PlatformTransactionManager to use for transactional wrapping of message reception plus listener execution.参数类型为PlatformTransactionManager的org.springframework.jms.listener中的方法 修饰符和类型 方法 说明 voidAbstractPollingMessageListenerContainer. setTransactionManager(PlatformTransactionManager transactionManager)Specify the SpringPlatformTransactionManagerto use for transactional wrapping of message reception plus listener execution.org.springframework.orm.hibernate5中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.orm.hibernate5中的类 修饰符和类型 类 说明 classHibernateTransactionManagerPlatformTransactionManagerimplementation for a single HibernateSessionFactory.org.springframework.orm.jpa中PlatformTransactionManager的使用
实现PlatformTransactionManager的org.springframework.orm.jpa中的类 修饰符和类型 类 说明 classJpaTransactionManagerPlatformTransactionManagerimplementation for a single JPAEntityManagerFactory.org.springframework.scheduling.quartz中PlatformTransactionManager的使用
参数类型为PlatformTransactionManager的org.springframework.scheduling.quartz中的方法 修饰符和类型 方法 说明 voidSchedulerAccessor. 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 PlatformTransactionManagerTransactionalTestExecutionListener. getTransactionManager(TestContext testContext)Get the transaction manager to use for the supplied test context.protected PlatformTransactionManagerTransactionalTestExecutionListener. getTransactionManager(TestContext testContext, String qualifier)static PlatformTransactionManagerTestContextTransactionUtils. 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中的方法 修饰符和类型 方法 说明 PlatformTransactionManagerTransactionAspectSupport.TransactionInfo. getTransactionManager()参数类型为PlatformTransactionManager的org.springframework.transaction.interceptor中的方法 修饰符和类型 方法 说明 protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport. createTransactionIfNecessary(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification)Create a transaction if necessary based on the given TransactionAttribute.protected TransactionAspectSupport.TransactionInfoTransactionAspectSupport. prepareTransactionInfo(PlatformTransactionManager tm, TransactionAttribute txAttr, String joinpointIdentification, TransactionStatus status)Prepare a TransactionInfo for the given attribute and status object.voidTransactionProxyFactoryBean. 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中的类 修饰符和类型 类 说明 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.support中PlatformTransactionManager的使用
org.springframework.transaction.support中PlatformTransactionManager的子接口 修饰符和类型 接口 说明 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.实现PlatformTransactionManager的org.springframework.transaction.support中的类 修饰符和类型 类 说明 classAbstractPlatformTransactionManagerAbstract base class that implements Spring's standard transaction workflow, serving as basis for concrete platform transaction managers likeJtaTransactionManager.返回PlatformTransactionManager的org.springframework.transaction.support中的方法 修饰符和类型 方法 说明 PlatformTransactionManagerTransactionTemplate. getTransactionManager()Return the transaction management strategy to be used.参数类型为PlatformTransactionManager的org.springframework.transaction.support中的方法 修饰符和类型 方法 说明 voidTransactionTemplate. 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.