|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.ee.InvocationManagedRuntime
public class InvocationManagedRuntime
Implementation of the ManagedRuntime interface that uses
a static method call to find the TransactionManager.
For example, to configure it to use IBM Websphere's TransactionManager,
use the method:
com.ibm.ejs.jts.jta.JTSXA.getTransactionManager
| Constructor Summary | |
|---|---|
InvocationManagedRuntime()
|
|
| Method Summary | |
|---|---|
void |
endConfiguration()
Invoked upon completion of bean property configuration for this object. |
TransactionManager |
getTransactionManager()
Return the TransactionManager for the managed runtime. |
String |
getTransactionManagerMethod()
Return the method to invoke to get the TransactionManager. |
void |
setConfiguration(Configuration conf)
Invoked prior to setting bean properties. |
void |
setTransactionManagerMethod(String methodName)
Set the method to invoke to get the TransactionManager. |
void |
startConfiguration()
Invoked before bean property configuration is begun on this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvocationManagedRuntime()
| Method Detail |
|---|
public String getTransactionManagerMethod()
TransactionManager.
public void setTransactionManagerMethod(String methodName)
TransactionManager.
E.g.: com.ibm.ejs.jts.jta.JTSXA.getTransactionManager
public TransactionManager getTransactionManager()
throws Exception
ManagedRuntime
getTransactionManager in interface ManagedRuntimeExceptionpublic void setConfiguration(Configuration conf)
Configurable
setConfiguration in interface Configurablepublic void startConfiguration()
Configurable
startConfiguration in interface Configurablepublic void endConfiguration()
Configurable
endConfiguration in interface Configurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||