edu.mayo.bsi.ngsportal.server
Class SessionKey

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.server.SessionKey
All Implemented Interfaces:
EventListener, javax.servlet.http.HttpSessionBindingListener

public class SessionKey
extends Object
implements javax.servlet.http.HttpSessionBindingListener

Author:
Greg Dougherty

Constructor Summary
SessionKey(int key)
           
SessionKey(Integer key)
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getKey()
           
 int hashCode()
           
 void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
           
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionKey

public SessionKey(Integer key)
Parameters:
key -

SessionKey

public SessionKey(int key)
Parameters:
key -
Method Detail

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getKey

public final Integer getKey()
Returns:
the key