|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.transactionmanager.JNDIENCTransactionManagerFactory
Transaction manager factory instance to be used with J2EE containers where the transaction manager is bound to the JNDI ENC of the container. Implements {link org.exolab.castor.jdo.transactionmanager. TransactionManagerFactory}.
| Field Summary | |
static java.lang.String |
NAME
The name of the factory. |
static java.lang.String |
TRANSACTION_MANAGER_NAME
Default JNDI binding for javax.transaction.TransactionManager instance. |
| Constructor Summary | |
JNDIENCTransactionManagerFactory()
|
|
| Method Summary | |
java.lang.String |
getName()
Returns the short alias for this factory instance. |
javax.transaction.TransactionManager |
getTransactionManager(java.util.Properties properties)
Acquires the appropriate javax.transaction.TransactionManager with the given properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String TRANSACTION_MANAGER_NAME
public static final java.lang.String NAME
| Constructor Detail |
public JNDIENCTransactionManagerFactory()
| Method Detail |
public java.lang.String getName()
getName in interface TransactionManagerFactoryTransactionManagerFactory.getName()
public javax.transaction.TransactionManager getTransactionManager(java.util.Properties properties)
throws TransactionManagerAcquireException
getTransactionManager in interface TransactionManagerFactoryproperties - The properties passed to the transaction manager.
TransactionManagerAcquireException - If any failure occured when loading
the transaction manager.#getTransactionManager(java.util.Properties)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||