org.mule.ra
Class DelegateWorkManager
java.lang.Object
org.mule.ra.DelegateWorkManager
- All Implemented Interfaces:
- Disposable, Lifecycle, Startable, Stoppable, UMOWorkManager
- public class DelegateWorkManager
- extends java.lang.Object
- implements UMOWorkManager
DelegateWorkManager
TODO
- Version:
- $Revision: 1.3 $
- Author:
- Ross Mason
Method Summary |
void |
dispose()
A lifecycle method where implementor should fee up any resources
If an exception is thrown it should just be logged and processing should
continue. |
void |
doWork(Work work)
|
void |
doWork(Work work,
long l,
ExecutionContext executionContext,
WorkListener workListener)
|
void |
scheduleWork(Work work)
|
void |
scheduleWork(Work work,
long l,
ExecutionContext executionContext,
WorkListener workListener)
|
void |
start()
|
long |
startWork(Work work)
|
long |
startWork(Work work,
long l,
ExecutionContext executionContext,
WorkListener workListener)
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegateWorkManager
public DelegateWorkManager(WorkManager workManager)
doWork
public void doWork(Work work)
throws WorkException
- Throws:
WorkException
doWork
public void doWork(Work work,
long l,
ExecutionContext executionContext,
WorkListener workListener)
throws WorkException
- Throws:
WorkException
startWork
public long startWork(Work work)
throws WorkException
- Throws:
WorkException
startWork
public long startWork(Work work,
long l,
ExecutionContext executionContext,
WorkListener workListener)
throws WorkException
- Throws:
WorkException
scheduleWork
public void scheduleWork(Work work)
throws WorkException
- Throws:
WorkException
scheduleWork
public void scheduleWork(Work work,
long l,
ExecutionContext executionContext,
WorkListener workListener)
throws WorkException
- Throws:
WorkException
start
public void start()
throws UMOException
- Specified by:
start
in interface Startable
- Throws:
UMOException
stop
public void stop()
throws UMOException
- Specified by:
stop
in interface Stoppable
- Throws:
UMOException
dispose
public void dispose()
- Description copied from interface:
Disposable
- A lifecycle method where implementor should fee up any resources
If an exception is thrown it should just be logged and processing should
continue. This method should not throw Runtime exceptions
- Specified by:
dispose
in interface Disposable
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.