|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventSourceEvents
This defines some generic events which can be thrown by all event sources.
EventSource
Method Summary | |
---|---|
void |
listenerCountChanged(EventSource es,
int oldCount,
int newCount)
This number of listeners has changed as a result of an addListener or removeListener method being called. |
void |
listenerExceptionThrown(EventSource es,
java.lang.Object listener,
java.lang.String methodName,
java.lang.Throwable exception)
A registered listener method threw an exception whilst handling an event. |
void |
unexpectedException(EventSource es,
java.lang.Object runnable,
java.lang.Throwable exception)
An unexpected exception was detected in the runtime. |
Method Detail |
---|
void listenerCountChanged(EventSource es, int oldCount, int newCount)
es
- The EventSource in question.oldCount
- The listener count before this operation.newCount
- The listener count after the operation.void listenerExceptionThrown(EventSource es, java.lang.Object listener, java.lang.String methodName, java.lang.Throwable exception)
es
- The EventSource in question.listener
- The listener which failed.methodName
- The name of the method being called.exception
- The exception thrown by the listener.void unexpectedException(EventSource es, java.lang.Object runnable, java.lang.Throwable exception)
es
- The EventSource in question.runnable
- The object which threw the exception.exception
- The thrown exception.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |