Known Direct Subclasses
|
Class Overview
Template implementation of TransactionManagerLookup
where the
underlying TransactionManager is available via JNDI lookup at the
specified location - getName()
.
Summary
Protected Methods |
abstract
String
|
getName()
Get the JNDI namespace under wich we can locate the TransactionManager.
|
Public Constructors
public
JNDITransactionManagerLookup
()
Public Methods
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).
Parameters
transaction
| The transaction to be identified. |
Returns
- An appropropriate identifier
public
TransactionManager
getTransactionManager
(Properties props)
Obtain the JTA TransactionManager.
Parameters
props
| The configuration properties. |
Returns
- The JTA TransactionManager.
Protected Methods
protected
abstract
String
getName
()
Get the JNDI namespace under wich we can locate the TransactionManager.
Returns
- The TransactionManager JNDI namespace