public class WASRegistryManagedRuntime extends RegistryManagedRuntime
RegistryManagedRuntime
. Currently these extensions consist of using
the WebSphere UOWManager interface to submit non transactional work.RegistryManagedRuntime.TransactionManagerRegistryFacade
Constructor and Description |
---|
WASRegistryManagedRuntime() |
Modifier and Type | Method and Description |
---|---|
void |
doNonTransactionalWork(Runnable runnable)
RegistryManagedRuntime cannot suspend transactions, but WebSphere
provides an interface to submit work outside of the current tran.
|
getRegistryName, getRollbackCause, getTransactionKey, getTransactionManager, setRegistryName, setRollbackOnly
public void doNonTransactionalWork(Runnable runnable) throws RuntimeException, UnsupportedOperationException
RegistryManagedRuntime cannot suspend transactions, but WebSphere provides an interface to submit work outside of the current tran.
doNonTransactionalWork
in interface ManagedRuntime
doNonTransactionalWork
in class RegistryManagedRuntime
runnable
- The runnable wrapper for the work that will be done. The
runnable object should be fully initialized with any state
needed to execute.RuntimeException
UnsupportedOperationException
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.