com.ibm.websphere.asynchbeans
Interface WorkEvents
All known subinterfaces:
- public interface WorkEvents
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
unexpectedException(EventSource es,WorkListener wl,java.lang.Throwable t)
An unexpected exception was detected by the runtime when dealing with a WorkListener.
|
|
workCompleted(EventSource es,Work e,java.lang.Throwable t)
This is fired when a work is completed with an exception
but no WorkListener was specified to
notify the application.
|
|
workListenerThrewException(EventSource es,WorkListener wl,java.lang.Throwable t)
The WorkListener which was specified has thrown an unexpected exception.
|
|
workRejected(EventSource es,Work e,java.lang.Throwable t)
This is fired when a work is rejected but no WorkListener was specified to
notify the application.
|
Method Detail
workListenerThrewException
- void workListenerThrewException( EventSource es,
- WorkListener wl,
- java.lang.Throwable t)
The WorkListener which was specified has thrown an unexpected exception.
Parameters:
es - The EventSource which 'owns' the Work being executed. Probably a WorkManager. wl - The WorkListener which threw the exception t - The thrown exception. unexpectedException
- void unexpectedException(EventSource es,
- WorkListener wl,
- java.lang.Throwable t)
An unexpected exception was detected by the runtime when dealing with a WorkListener. This usually indicates
a system problem and should not normally be fired.
Parameters:
es - The EventSource in use. wl - The WorkListener in use. t - The exception which was detected. workRejected
- void workRejected(EventSource es,
- Work e,
- java.lang.Throwable t)
This is fired when a work is rejected but no WorkListener was specified to
notify the application.
Parameters:
es - The EventSource owning the Work, probably a WorkManager e - The Work in question. t - An exception if one was thrown, may be null. workCompleted
- void workCompleted(EventSource es,
- Work e,
- java.lang.Throwable t)
This is fired when a work is completed with an exception
but no WorkListener was specified to
notify the application.
Parameters:
es - The EventSource owning the Work, probably a WorkManager e - The Work in question. t - The exception.