java.lang.Object
org.operaton.bpm.container.impl.threading.ra.JcaWorkRunnableAdapter
- All Implemented Interfaces:
jakarta.resource.spi.work.Work, Runnable
public class JcaWorkRunnableAdapter
extends Object
implements jakarta.resource.spi.work.Work
An adapter for wrapping a Runnable as a JCA Work instance.
- Author:
- Daniel Meyer
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JcaWorkRunnableAdapter
public JcaWorkRunnableAdapter(Runnable runnable)
-
Method Details
-
run
public void run()
- Specified by:
run in interface Runnable
-
release
public void release()
- Specified by:
release in interface jakarta.resource.spi.work.Work