com.glaivestone.javax.execution
Interface SessionEventListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
SessionEventAdaptor

public interface SessionEventListener
extends java.util.EventListener

The listener interface for receiving session life-cycle event notifications.

Author:
Deb Lewis
See Also:
SessionManager

Method Summary
 void aboutToShutdownSession(SessionEvent event)
          Notification event that session shutdown processing is being initiated.
 void aboutToStartSession(SessionEvent event)
          Notification event that the session is about to be started.
 void confirmSessionShutdown(SessionEvent event)
          Vetoable confirmation event notification that session shutdown processing is about to be initiated.
 void sessionStarted(SessionEvent event)
          Notification event that the session has been started.
 

Method Detail

aboutToStartSession

public void aboutToStartSession(SessionEvent event)
Notification event that the session is about to be started. Fired prior to initialization processing.


sessionStarted

public void sessionStarted(SessionEvent event)
Notification event that the session has been started. Fired after initialization processing is completed.


confirmSessionShutdown

public void confirmSessionShutdown(SessionEvent event)
                            throws VetoException
Vetoable confirmation event notification that session shutdown processing is about to be initiated.

Throws:
VetoException - thrown if a listener vetos the proposed session shutdown

aboutToShutdownSession

public void aboutToShutdownSession(SessionEvent event)
Notification event that session shutdown processing is being initiated.


GFL 1.1 API