org.apache.geronimo.connector.work.pool
Class StartWorkExecutor
java.lang.Object
org.apache.geronimo.connector.work.pool.StartWorkExecutor
- All Implemented Interfaces:
- WorkExecutor
- public class StartWorkExecutor
- extends Object
- implements WorkExecutor
- Version:
- $Revision: 1.1 $ $Date: 2004/07/06 17:15:54 $
Method Summary |
void |
doExecute(WorkerContext work,
EDU.oswego.cs.dl.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 |
StartWorkExecutor
public StartWorkExecutor()
doExecute
public void doExecute(WorkerContext work,
EDU.oswego.cs.dl.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:
InterruptedException
- Indicates that the thread in charge of the
execution of the specified work has been interrupted.
javax.resource.spi.work.WorkException
- Indicates that the work has failed.
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.