org.mule.impl.work
Interface WorkExecutor

All Known Implementing Classes:
ScheduleWorkExecutor, StartWorkExecutor, SyncWorkExecutor

public interface WorkExecutor

WorkExecutor TODO

Version:
$Revision: 1.3 $
Author:
Ross Mason

Method Summary
 void doExecute(WorkerContext work, Executor executor)
          This method must be implemented by sub-classes in order to provide the relevant synchronization policy.
 

Method Detail

doExecute

public void doExecute(WorkerContext work,
                      Executor executor)
               throws WorkException,
                      java.lang.InterruptedException
This method must be implemented by sub-classes in order to provide the relevant synchronization policy. It is called by the executeWork template method.

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


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.