Class CommonjWorkRunnableAdapter

java.lang.Object
org.camunda.bpm.container.impl.threading.ra.commonj.CommonjWorkRunnableAdapter
All Implemented Interfaces:
commonj.work.Work, Runnable

public class CommonjWorkRunnableAdapter extends Object implements commonj.work.Work
An adapter for wrapping a Runnable as a CommonJ Work instance.
Author:
Daniel Meyer
  • Constructor Details

    • CommonjWorkRunnableAdapter

      public CommonjWorkRunnableAdapter(Runnable delegate)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • isDaemon

      public boolean isDaemon()
      Specified by:
      isDaemon in interface commonj.work.Work
    • release

      public void release()
      Specified by:
      release in interface commonj.work.Work