org.mule.module.jca
Class TestJCAWorkManager

java.lang.Object
  extended by org.mule.module.jca.TestJCAWorkManager
All Implemented Interfaces:
javax.resource.spi.work.WorkManager

public class TestJCAWorkManager
extends Object
implements javax.resource.spi.work.WorkManager


Field Summary
 
Fields inherited from interface javax.resource.spi.work.WorkManager
IMMEDIATE, INDEFINITE, UNKNOWN
 
Constructor Summary
TestJCAWorkManager()
           
 
Method Summary
 void doWork(javax.resource.spi.work.Work arg0)
           
 void doWork(javax.resource.spi.work.Work arg0, long arg1, javax.resource.spi.work.ExecutionContext arg2, javax.resource.spi.work.WorkListener arg3)
           
 List getDoWorkList()
           
 List getScheduledWorkList()
           
 List getStartWorkList()
           
 void scheduleWork(javax.resource.spi.work.Work arg0)
           
 void scheduleWork(javax.resource.spi.work.Work arg0, long arg1, javax.resource.spi.work.ExecutionContext arg2, javax.resource.spi.work.WorkListener arg3)
           
 long startWork(javax.resource.spi.work.Work arg0)
           
 long startWork(javax.resource.spi.work.Work arg0, long arg1, javax.resource.spi.work.ExecutionContext arg2, javax.resource.spi.work.WorkListener arg3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestJCAWorkManager

public TestJCAWorkManager()
Method Detail

doWork

public void doWork(javax.resource.spi.work.Work arg0)
            throws javax.resource.spi.work.WorkException
Specified by:
doWork in interface javax.resource.spi.work.WorkManager
Throws:
javax.resource.spi.work.WorkException

doWork

public void doWork(javax.resource.spi.work.Work arg0,
                   long arg1,
                   javax.resource.spi.work.ExecutionContext arg2,
                   javax.resource.spi.work.WorkListener arg3)
            throws javax.resource.spi.work.WorkException
Specified by:
doWork in interface javax.resource.spi.work.WorkManager
Throws:
javax.resource.spi.work.WorkException

scheduleWork

public void scheduleWork(javax.resource.spi.work.Work arg0)
                  throws javax.resource.spi.work.WorkException
Specified by:
scheduleWork in interface javax.resource.spi.work.WorkManager
Throws:
javax.resource.spi.work.WorkException

scheduleWork

public void scheduleWork(javax.resource.spi.work.Work arg0,
                         long arg1,
                         javax.resource.spi.work.ExecutionContext arg2,
                         javax.resource.spi.work.WorkListener arg3)
                  throws javax.resource.spi.work.WorkException
Specified by:
scheduleWork in interface javax.resource.spi.work.WorkManager
Throws:
javax.resource.spi.work.WorkException

startWork

public long startWork(javax.resource.spi.work.Work arg0)
               throws javax.resource.spi.work.WorkException
Specified by:
startWork in interface javax.resource.spi.work.WorkManager
Throws:
javax.resource.spi.work.WorkException

startWork

public long startWork(javax.resource.spi.work.Work arg0,
                      long arg1,
                      javax.resource.spi.work.ExecutionContext arg2,
                      javax.resource.spi.work.WorkListener arg3)
               throws javax.resource.spi.work.WorkException
Specified by:
startWork in interface javax.resource.spi.work.WorkManager
Throws:
javax.resource.spi.work.WorkException

getDoWorkList

public List getDoWorkList()

getScheduledWorkList

public List getScheduledWorkList()

getStartWorkList

public List getStartWorkList()


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.