net.sf.jzeno.echo.screen
Class UserSessionBindingListener

java.lang.Object
  extended by net.sf.jzeno.echo.screen.UserSessionBindingListener
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.servlet.http.HttpSessionBindingListener

public class UserSessionBindingListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener, java.io.Serializable

Used to show logged in users on the UserOverviewScreen.

See Also:
Serialized Form

Constructor Summary
UserSessionBindingListener(java.lang.String userName)
           
 
Method Summary
static int getCurrentSessionCount()
           
 java.util.Date getLastLogonDate()
           
static int getMaxSessionCount()
           
static java.util.List getSessionBindingListeners()
           
 java.lang.String getUserName()
           
 void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
           
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSessionBindingListener

public UserSessionBindingListener(java.lang.String userName)
Method Detail

getUserName

public java.lang.String getUserName()

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener

getLastLogonDate

public java.util.Date getLastLogonDate()

getSessionBindingListeners

public static java.util.List getSessionBindingListeners()

getMaxSessionCount

public static int getMaxSessionCount()

getCurrentSessionCount

public static int getCurrentSessionCount()