com.boylesoftware.cb2.commons.user
Interface UserSessionStateListener

All Superinterfaces:
java.util.EventListener

public interface UserSessionStateListener
extends java.util.EventListener

Interface for BLOs that want to listen for user session state changes. Usually the UserBLO, or derived from it custom classes, emit a UserSessionStateEvent whenever the user session state changes, for example the user logs in or logs out the application. Your BLO can implement this interface and register with UserBLO to receive notifications.

Version:
$Id: UserSessionStateListener.java,v 1.1 2003/04/22 17:34:18 levahim Exp $
Author:
Lev Himmelfarb
See Also:
UserSessionStateEvent, UserBLO

Method Summary
 void userLoggedIn(UserSessionStateEvent usse)
          Called whenever a user logged in to the application.
 void userLoggedOut(UserSessionStateEvent usse)
          Called whenever a user logged out from the application.
 

Method Detail

userLoggedIn

public void userLoggedIn(UserSessionStateEvent usse)
                  throws BLException
Called whenever a user logged in to the application.

Throws:
BLException

userLoggedOut

public void userLoggedOut(UserSessionStateEvent usse)
                   throws BLException
Called whenever a user logged out from the application.

Throws:
BLException


Copyright © 2002,2003,2004 - Boyle Software, Inc.