|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.ee.JNDIManagedRuntime
public class JNDIManagedRuntime
Implementation of the ManagedRuntime
interface that uses JNDI to
find the TransactionManager.
Constructor Summary | |
---|---|
JNDIManagedRuntime()
|
Method Summary | |
---|---|
javax.transaction.TransactionManager |
getTransactionManager()
Return the TransactionManager for the managed runtime. |
java.lang.String |
getTransactionManagerName()
Return the location of the TransactionManager in JNDI. |
void |
setTransactionManagerName(java.lang.String name)
Set the location of the TransactionManager in JNDI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JNDIManagedRuntime()
Method Detail |
---|
public java.lang.String getTransactionManagerName()
TransactionManager
in JNDI.
public void setTransactionManagerName(java.lang.String name)
TransactionManager
in JNDI.
public javax.transaction.TransactionManager getTransactionManager() throws java.lang.Exception
ManagedRuntime
getTransactionManager
in interface ManagedRuntime
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |