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

      • JcaWorkRunnableAdapter

        public JcaWorkRunnableAdapter​(Runnable runnable)
    • Method Detail

      • run

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

        public void release()
        Specified by:
        release in interface javax.resource.spi.work.Work