public class WLSManagedRuntime extends AbstractManagedRuntime implements ManagedRuntime
ManagedRuntime implementation that directly accesses the
transaction manager via WebLogic Server helper classes.| Constructor and Description |
|---|
WLSManagedRuntime() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getRollbackCause()
Returns the Throwable that caused the current transaction to be
marked for rollback, provided that any exists.
|
javax.transaction.TransactionManager |
getTransactionManager()
Return the TransactionManager for the managed runtime.
|
void |
setRollbackOnly(java.lang.Throwable cause)
Sets the rollback only flag on the current transaction.
|
doNonTransactionalWork, getTransactionKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNonTransactionalWork, getTransactionKeypublic WLSManagedRuntime()
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException
java.lang.ClassNotFoundExceptionjava.lang.NoSuchMethodExceptionpublic javax.transaction.TransactionManager getTransactionManager()
throws java.lang.Exception
ManagedRuntimegetTransactionManager in interface ManagedRuntimejava.lang.Exceptionpublic void setRollbackOnly(java.lang.Throwable cause)
throws java.lang.Exception
ManagedRuntimesetRollbackOnly in interface ManagedRuntimecause - the Throwable that caused the transaction to be
marked for rollback, or null of none is knownjava.lang.Exceptionpublic java.lang.Throwable getRollbackCause()
throws java.lang.Exception
ManagedRuntimegetRollbackCause in interface ManagedRuntimejava.lang.ExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.