org.mule.work
Class ScheduleWorkExecutor

java.lang.Object
  extended by org.mule.work.ScheduleWorkExecutor
All Implemented Interfaces:
WorkExecutor

public class ScheduleWorkExecutor
extends Object
implements WorkExecutor


Constructor Summary
ScheduleWorkExecutor()
           
 
Method Summary
 void doExecute(WorkerContext work, edu.emory.mathcs.backport.java.util.concurrent.Executor executor)
          This method must be implemented by sub-classes in order to provide the relevant synchronization policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleWorkExecutor

public ScheduleWorkExecutor()
Method Detail

doExecute

public void doExecute(WorkerContext work,
                      edu.emory.mathcs.backport.java.util.concurrent.Executor executor)
               throws javax.resource.spi.work.WorkException,
                      InterruptedException
Description copied from interface: WorkExecutor
This method must be implemented by sub-classes in order to provide the relevant synchronization policy. It is called by the executeWork template method.

Specified by:
doExecute in interface WorkExecutor
Parameters:
work - Work to be executed.
Throws:
javax.resource.spi.work.WorkException - Indicates that the work has failed.
InterruptedException - Indicates that the thread in charge of the execution of the specified work has been interrupted.


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.