|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.jdo.transactionmanager.spi.JNDIENCTransactionManagerFactory
public final class 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}.
Constructor Summary | |
---|---|
JNDIENCTransactionManagerFactory()
|
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the short alias for this factory instance. |
javax.transaction.TransactionManager |
getTransactionManager(JdoConf jdoConf)
Acquires the appropriate javax.transaction.TransactionManager with the parameters from the given jdo configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JNDIENCTransactionManagerFactory()
Method Detail |
---|
public java.lang.String getName()
TransactionManagerFactory
getName
in interface TransactionManagerFactory
TransactionManagerFactory.getName()
public javax.transaction.TransactionManager getTransactionManager(JdoConf jdoConf) throws TransactionManagerAcquireException
TransactionManagerFactory
getTransactionManager
in interface TransactionManagerFactory
jdoConf
- The jdo configuration holding the parameters to set on the
transaction manager.
TransactionManagerAcquireException
- If any failure occures when loading
the transaction manager.#getTransactionManager(org.exolab.castor.jdo.conf.JdoConf)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |