Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.api.work
Interface WorkExecutor

All Known Implementing Classes:
  ScheduleWorkExecutor, StartWorkExecutor, SyncWorkExecutor

    public interface WorkExecutor

`WorkExecutor` TODO

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.

Method Detail

### doExecute

    void doExecute(WorkerContext work,
                   edu.emory.mathcs.backport.java.util.concurrent.Executor executor)
                   throws javax.resource.spi.work.WorkException,
                          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.
    `InterruptedException` - Indicates that the thread in charge of the execution of the specified work has been interrupted.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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