|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExceptionEventSource
ExceptionEventSource is implemented by classes firing
ExceptionEvents.
Example: Listening to all jDTAUS Core SPI compliant implementations in the system
ExceptionEventSource source =
(ExceptionEventSource) ContainerFactory.getContainer().
getObject( ExceptionEventSource.class );
source.addExceptionListener(your application's listener);
| Method Summary | |
|---|---|
void |
addExceptionListener(ExceptionListener listener)
Adds an ExceptionListener to the listener list. |
ExceptionListener[] |
getExceptionListeners()
Gets all currently registered ExceptionListeners. |
void |
removeExceptionListener(ExceptionListener listener)
Removes a ExceptionListener from the listener list. |
| Method Detail |
|---|
void addExceptionListener(ExceptionListener listener)
ExceptionListener to the listener list.
listener - The listener to be added to the listener list.
NullPointerException - if listener is null.ExceptionListener[] getExceptionListeners()
ExceptionListeners.
ExceptionListeners.void removeExceptionListener(ExceptionListener listener)
ExceptionListener from the listener list.
listener - The listener to be removed from the listener list.
NullPointerException - if listener is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||