|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.ee.RegistryManagedRuntime
org.apache.openjpa.ee.WASRegistryManagedRuntime
public class WASRegistryManagedRuntime
WASRegistryManagedRuntime provides WebSphere specific extensions to
RegistryManagedRuntime
. Currently these extensions consist of using
the WebSphere UOWManager interface to submit non transactional work.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.openjpa.ee.RegistryManagedRuntime |
---|
RegistryManagedRuntime.TransactionManagerRegistryFacade |
Constructor Summary | |
---|---|
WASRegistryManagedRuntime()
|
Method Summary | |
---|---|
void |
doNonTransactionalWork(java.lang.Runnable runnable)
RegistryManagedRuntime cannot suspend transactions, but WebSphere provides an interface to submit work outside of the current tran. |
Methods inherited from class org.apache.openjpa.ee.RegistryManagedRuntime |
---|
getRegistryName, getRollbackCause, getTransactionKey, getTransactionManager, setRegistryName, setRollbackOnly |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WASRegistryManagedRuntime()
Method Detail |
---|
public void doNonTransactionalWork(java.lang.Runnable runnable) throws java.lang.RuntimeException, java.lang.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.
java.lang.RuntimeException
java.lang.UnsupportedOperationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |