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 |
|---|---|
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.
|
doNonTransactionalWork, getTransactionKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNonTransactionalWork, getTransactionKeypublic WLSManagedRuntime()
throws ClassNotFoundException,
NoSuchMethodException
public TransactionManager getTransactionManager() throws Exception
ManagedRuntimegetTransactionManager in interface ManagedRuntimeExceptionpublic void setRollbackOnly(Throwable cause) throws Exception
ManagedRuntimesetRollbackOnly in interface ManagedRuntimecause - the Throwable that caused the transaction to be
marked for rollback, or null of none is knownExceptionpublic Throwable getRollbackCause() throws Exception
ManagedRuntimegetRollbackCause in interface ManagedRuntimeExceptionCopyright © 2006–2022 Apache Software Foundation. All rights reserved.