Class JcaWorkRunnableAdapter

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