|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.jdo.transactionmanager.spi.BaseTransactionManagerFactory
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 | |
protected javax.transaction.TransactionManager |
_transactionManager
The javax.transaction.TransactionManager that Castor will use. |
protected java.util.Properties |
params
|
Constructor Summary | |
BaseTransactionManagerFactory()
|
Method Summary | |
abstract java.lang.String |
getName()
Returns the short alias for this factory instance. |
java.util.Properties |
getParams()
Returns the full set of parameters associated with this factory instance. |
abstract javax.transaction.TransactionManager |
getTransactionManager()
Acquires the appropriate TransactionManager. |
void |
setParams(java.util.Properties params)
Setsthe full set of parameters on this factory instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Properties params
protected javax.transaction.TransactionManager _transactionManager
Constructor Detail |
public BaseTransactionManagerFactory()
Method Detail |
public abstract javax.transaction.TransactionManager getTransactionManager() throws TransactionManagerAcquireException
getTransactionManager
in interface TransactionManagerFactory
TransactionManagerAcquireException
public abstract java.lang.String getName()
TransactionManagerFactory
getName
in interface TransactionManagerFactory
public java.util.Properties getParams()
TransactionManagerFactory
getParams
in interface TransactionManagerFactory
public void setParams(java.util.Properties params)
TransactionManagerFactory
setParams
in interface TransactionManagerFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |