public interface ItsNatEventListenerChain
ItsNat provides a default implementation returned by ItsNatEvent.getItsNatEventListenerChain().
Methods of this object must be called only inside the processing of an event listener and must not be saved beyond the lifetime of the related event.
Usually global event listeners and event listeners registered with
ItsNatComponent.addEventListener(String,org.w3c.dom.events.EventListener)
can benefit of this feature.
| Modifier and Type | Method and Description |
|---|---|
void |
continueChain()
If called, the listener dispatching flow will follow this path,
that is to say, next listeners will be executed before returning this method.
|
boolean |
isStopped()
Informs whether the processing of this event is stopped.
|
void |
stop()
Instructs ItsNat to stop the normal event listener flow, next listeners are not dispatched.
|
void continueChain()
This method can be used to catch exceptions thrown by followin listeners, to open/commit transactions before/after calling this method etc.
void stop()
boolean isStopped()
Copyright © Innowhere Software, Jose Maria Arranz Santamaria.