org.wings.event
Interface SExitListener

All Superinterfaces:
EventListener

public interface SExitListener
extends EventListener

Exit listeners can be attached to the current session and will get notified when the session is closed. They may throw an ExitVetoException to indicate that they do not want to allow the session destroying. This veto exception has only effect if the session end was triggered by Session.exit(String).

Author:
Armin Haaf

Method Summary
 void prepareExit(SExitEvent e)
          The current user session is about to be closed.
 

Method Detail

prepareExit

void prepareExit(SExitEvent e)
                 throws ExitVetoException
The current user session is about to be closed.

Throws:
ExitVetoException - Thrown if client wants to abort an existing Session.exit(String) session exit trigger.


wingS Swings ;-)