类 WebSphereExtendedJtaPlatform
- java.lang.Object
-
- org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
-
- org.hibernate.engine.transaction.jta.platform.internal.WebSphereExtendedJtaPlatform
-
- 所有已实现的接口:
Serializable,TransactionManagerAccess,JtaPlatform,Service,Configurable,ServiceRegistryAwareService
public class WebSphereExtendedJtaPlatform extends AbstractJtaPlatform
JTA platform implementation intended for use with WebSphere Application Server (WAS). WAS, unlike every other app server on the planet, does not allow direct access to the JTS TransactionManager. Instead, for common transaction-related tasks users must utilize a proprietary API known as ExtendedJTATransaction. Even more unfortunate, the exact TransactionManagerLookup to use inside of WAS is highly dependent upon- WAS version
- the WAS container in which Hibernate will be utilized
- 作者:
- Gavin King, 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 classWebSphereExtendedJtaPlatform.TransactionManagerAdapter
-
构造器概要
构造器 构造器 说明 WebSphereExtendedJtaPlatform()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected booleancanCacheTransactionManager()ObjectgetTransactionIdentifier(javax.transaction.Transaction transaction)Determine an identifier for the given transaction appropriate for use in caching/lookup usages.protected javax.transaction.TransactionManagerlocateTransactionManager()protected javax.transaction.UserTransactionlocateUserTransaction()-
从类继承的方法 org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
canCacheTransactionManagerByDefault, canCacheUserTransaction, canCacheUserTransactionByDefault, canRegisterSynchronization, configure, getCurrentStatus, getSynchronizationStrategy, getTransactionManager, injectServices, jndiService, registerSynchronization, retrieveTransactionManager, retrieveUserTransaction, serviceRegistry
-
-
-
-
方法详细资料
-
canCacheTransactionManager
protected boolean canCacheTransactionManager()
-
locateTransactionManager
protected javax.transaction.TransactionManager locateTransactionManager()
-
locateUserTransaction
protected javax.transaction.UserTransaction locateUserTransaction()
- 指定者:
locateUserTransaction在类中AbstractJtaPlatform
-
getTransactionIdentifier
public Object getTransactionIdentifier(javax.transaction.Transaction transaction)
从接口复制的说明:JtaPlatformDetermine an identifier for the given transaction appropriate for use in caching/lookup usages. Generally speaking the transaction itself will be returned here. This method was added specifically for use in WebSphere and other unfriendly Java EE containers.- 指定者:
getTransactionIdentifier在接口中JtaPlatform- 覆盖:
getTransactionIdentifier在类中AbstractJtaPlatform- 参数:
transaction- The transaction to be identified.- 返回:
- An appropriate identifier
-
-