Class JcaWorkRunnableAdapter

  • All Implemented Interfaces:
    java.lang.Runnable, javax.resource.spi.work.Work

    public class JcaWorkRunnableAdapter
    extends java.lang.Object
    implements javax.resource.spi.work.Work
    An adapter for wrapping a Runnable as a JCA Work instance.
    Author:
    Daniel Meyer
    • Constructor Summary

      Constructors 
      Constructor Description
      JcaWorkRunnableAdapter​(java.lang.Runnable runnable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void release()  
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JcaWorkRunnableAdapter

        public JcaWorkRunnableAdapter​(java.lang.Runnable runnable)
    • Method Detail

      • run

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

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