Class JcaWorkRunnableAdapter

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 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