Class JBossAppServerJtaPlatform
- java.lang.Object
-
- org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
-
- org.hibernate.engine.transaction.jta.platform.internal.JBossAppServerJtaPlatform
-
- All Implemented Interfaces:
Serializable
,TransactionManagerAccess
,JtaPlatform
,Service
,Configurable
,ServiceRegistryAwareService
public class JBossAppServerJtaPlatform extends AbstractJtaPlatform
JtaPlatform definition for JBoss Application Server.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
AS4_TM_NAME
static String
AS7_TM_NAME
static String
JBOSS_UT_NAME
static String
UT_NAME
-
Constructor Summary
Constructors Constructor Description JBossAppServerJtaPlatform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canCacheTransactionManagerByDefault()
protected boolean
canCacheUserTransactionByDefault()
protected TransactionManager
locateTransactionManager()
protected UserTransaction
locateUserTransaction()
-
Methods inherited from class org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
canCacheTransactionManager, canCacheUserTransaction, canRegisterSynchronization, configure, getCurrentStatus, getSynchronizationStrategy, getTransactionIdentifier, getTransactionManager, injectServices, jndiService, registerSynchronization, retrieveTransactionManager, retrieveUserTransaction, serviceRegistry
-
-
-
-
Field Detail
-
AS7_TM_NAME
public static final String AS7_TM_NAME
- See Also:
- Constant Field Values
-
AS4_TM_NAME
public static final String AS4_TM_NAME
- See Also:
- Constant Field Values
-
JBOSS_UT_NAME
public static final String JBOSS_UT_NAME
- See Also:
- Constant Field Values
-
UT_NAME
public static final String UT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
canCacheUserTransactionByDefault
protected boolean canCacheUserTransactionByDefault()
- Overrides:
canCacheUserTransactionByDefault
in classAbstractJtaPlatform
-
canCacheTransactionManagerByDefault
protected boolean canCacheTransactionManagerByDefault()
- Overrides:
canCacheTransactionManagerByDefault
in classAbstractJtaPlatform
-
locateTransactionManager
protected TransactionManager locateTransactionManager()
- Specified by:
locateTransactionManager
in classAbstractJtaPlatform
-
locateUserTransaction
protected UserTransaction locateUserTransaction()
- Specified by:
locateUserTransaction
in classAbstractJtaPlatform
-
-