javawebparts.listener
Class SessionLimiterListenerHelper

java.lang.Object
  |
  +--javawebparts.listener.SessionLimiterListenerHelper

public final class SessionLimiterListenerHelper
extends java.lang.Object

This class contains static methods used by the classes implementing the session limiting facility.

Author:
Tamas Szabo

Field Summary
static java.lang.String SET_KEY
          Attribute name of the Set containing the allowed session IDs in the application context.
 
Constructor Summary
private SessionLimiterListenerHelper()
          This is a utility class, so we want a private noarg constructor so instances cannot be created.
 
Method Summary
static void unregisterSession(javax.servlet.ServletContext ctx, java.lang.String sessionId)
          Unregisters a session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SET_KEY

public static final java.lang.String SET_KEY
Attribute name of the Set containing the allowed session IDs in the application context.

See Also:
Constant Field Values
Constructor Detail

SessionLimiterListenerHelper

private SessionLimiterListenerHelper()
This is a utility class, so we want a private noarg constructor so instances cannot be created.

Method Detail

unregisterSession

public static void unregisterSession(javax.servlet.ServletContext ctx,
                                     java.lang.String sessionId)
Unregisters a session.

Parameters:
ctx - the servlet context.
sessionId - the session ID to unregister.


Copyright © 2005 Frank W. Zammetti