org.mule.impl.work
Class SyncWorkExecutor

java.lang.Object
  extended byorg.mule.impl.work.SyncWorkExecutor
All Implemented Interfaces:
WorkExecutor

public class SyncWorkExecutor
extends java.lang.Object
implements WorkExecutor

Version:
$Rev$ $Date: 2005/04/05 06:03:20 $

Constructor Summary
SyncWorkExecutor()
           
 
Method Summary
 void doExecute(WorkerContext work, 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

SyncWorkExecutor

public SyncWorkExecutor()
Method Detail

doExecute

public void doExecute(WorkerContext work,
                      Executor executor)
               throws WorkException,
                      java.lang.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:
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.