java.lang.Object
org.camunda.bpm.container.impl.threading.ra.JcaWorkRunnableAdapter
- All Implemented Interfaces:
Runnable
, javax.resource.spi.work.Work
public class JcaWorkRunnableAdapter
extends Object
implements javax.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 javax.resource.spi.work.Work