com.sdm.quasar.client.core.application
Interface SessionListener


public interface SessionListener

Observer of SessionManager, is notified when Sessions are created and disposing.

Version:
1.0
Author:
Martin Haft, sd&m AG, Carsten Lucke, sd&m AG, Bernd Olleck, sd&m AG

Method Summary
 void onSessionCreate(Session session)
          This method is called by the SessionManager when a session is created.
 void onSessionDispose(Session session)
          This method is called by the SessionManager before a session is disposed.
 

Method Detail

onSessionCreate

public void onSessionCreate(Session session)
This method is called by the SessionManager when a session is created.

Parameters:
session - the session that has been created

onSessionDispose

public void onSessionDispose(Session session)
This method is called by the SessionManager before a session is disposed.

Note: Any threads or asynchronous calls started must be completed before this method returns.

Parameters:
session - the session that will be disposed