|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exolab.castor.jdo.transactionmanager.spi.LocalTransactionManagerFactory
Default transaction manager when Castor is used in standalone mode, in other words not within a J2EE container.
| Field Summary | |
static javax.transaction.TransactionManager |
MANAGER
The dummy transaction manager that always will be returned. |
static java.lang.String |
NAME
The name of the factory. |
| Constructor Summary | |
LocalTransactionManagerFactory()
|
|
| 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 |
| Field Detail |
public static final java.lang.String NAME
public static final javax.transaction.TransactionManager MANAGER
| Constructor Detail |
public LocalTransactionManagerFactory()
| Method Detail |
public java.lang.String getName()
TransactionManagerFactory
getName in interface TransactionManagerFactoryTransactionManagerFactory.getName()
public javax.transaction.TransactionManager getTransactionManager(JdoConf jdoConf)
throws TransactionManagerAcquireException
TransactionManagerFactory
getTransactionManager in interface TransactionManagerFactoryjdoConf - 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 | ||||||||