|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkEvents
This interface defines the events which are published to an EventSource when a Work is executed and possibly fails.
Method Summary | |
---|---|
void |
unexpectedException(EventSource es,
WorkListener wl,
java.lang.Throwable t)
An unexpected exception was detected by the runtime when dealing with a WorkListener. |
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. |
void |
workListenerThrewException(EventSource es,
WorkListener wl,
java.lang.Throwable t)
The WorkListener which was specified has thrown an unexpected exception. |
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. |
Method Detail |
---|
void workListenerThrewException(EventSource es, WorkListener wl, java.lang.Throwable t)
es
- The EventSource which 'owns' the Work being executed. Probably a WorkManager.wl
- The WorkListener which threw the exceptiont
- The thrown exception.void unexpectedException(EventSource es, WorkListener wl, java.lang.Throwable t)
es
- The EventSource in use.wl
- The WorkListener in use.t
- The exception which was detected.void workRejected(EventSource es, Work e, java.lang.Throwable t)
es
- The EventSource owning the Work, probably a WorkManagere
- The Work in question.t
- An exception if one was thrown, may be null.void workCompleted(EventSource es, Work e, java.lang.Throwable t)
es
- The EventSource owning the Work, probably a WorkManagere
- The Work in question.t
- The exception.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |