TransactionManager on given platform.Note
this contract has expanded over time, and basically is a platform abstraction contract for JTA-related information.
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: An appropropriate identifierThe transaction to be identified. transaction)Determine an identifier for the given transaction appropriate for use in caching/lookup usages. |
| public TransactionManager | Returns: The JTATransactionManager.The configuration properties. props)Obtain the JTA |
| public String | Returns: The JNDI namespace where we can locate thejavax. for this platform.Return the JNDI namespace of the JTA
|
| getTransactionIdentifier | back to summary |
|---|---|
| public Object getTransactionIdentifier(Transaction transaction) Determine 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 JEE containers (although WebSphere is still the only known such brain-dead, sales-driven impl).
| |
| getTransactionManager | back to summary |
|---|---|
| public TransactionManager getTransactionManager(Properties props) throws HibernateException Obtain the JTA
| |
| getUserTransactionName | back to summary |
|---|---|
| public String getUserTransactionName() Return the JNDI namespace of the JTA
| |