TransactionManagerLookup where the
underlying TransactionManager is available via JNDI lookup at the
specified location - getName.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract String | Returns: TheTransactionManager JNDI namespaceGet the JNDI namespace under wich we can locate the |
| public Object | getTransactionIdentifier(Transaction
The transaction to be identified. transaction)Implements org. |
| public TransactionManager | getTransactionManager(Properties
The configuration properties. props)Implements org. TransactionManager.
|
| JNDITransactionManagerLookup | back to summary |
|---|---|
| public JNDITransactionManagerLookup() | |
| getName | back to summary |
|---|---|
| protected abstract String getName() Get the JNDI namespace under wich we can locate the
| |
| getTransactionIdentifier | back to summary |
|---|---|
| public Object getTransactionIdentifier(Transaction transaction) Implements org. Doc from org. 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 Implements org. Doc from org. Obtain the JTA
| |