|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.ee.WLSManagedRuntime
public class WLSManagedRuntime
ManagedRuntime implementation that directly accesses the
transaction manager via WebLogic Server helper classes.
| Constructor Summary | |
|---|---|
WLSManagedRuntime()
|
|
| Method Summary | |
|---|---|
Throwable |
getRollbackCause()
Returns the Throwable that caused the current transaction to be marked for rollback, provided that any exists. |
TransactionManager |
getTransactionManager()
Return the TransactionManager for the managed runtime. |
void |
setRollbackOnly(Throwable cause)
Sets the rollback only flag on the current transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WLSManagedRuntime()
throws ClassNotFoundException,
NoSuchMethodException
ClassNotFoundException
NoSuchMethodException| Method Detail |
|---|
public TransactionManager getTransactionManager()
throws Exception
ManagedRuntime
getTransactionManager in interface ManagedRuntimeException
public void setRollbackOnly(Throwable cause)
throws Exception
ManagedRuntime
setRollbackOnly in interface ManagedRuntimecause - the Throwable that caused the transaction to be
marked for rollback, or null of none is known
Exception
public Throwable getRollbackCause()
throws Exception
ManagedRuntime
getRollbackCause in interface ManagedRuntimeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||