e4s.servlet
Class E4SessionListener
java.lang.Object
e4s.util.E4Object
e4s.servlet.E4SessionListener
- Direct Known Subclasses:
- sessionListener
public class E4SessionListener
- extends E4Object
The session listener implements an interface provided by Apache/Tomcat servers
to indicate that a session is terminated. This requires some additional deployment
definitions in your web.xml file:
Requires in the web.xml:
<listener>
<listener-class>e4s.servlet.sessionListener</listener-class>
</listener>
| Methods inherited from class e4s.util.E4Object |
_getSVNVersionString, Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
E4SessionListener
public E4SessionListener()
sessionCreated
public void sessionCreated(HttpSessionEvent sEvt)
sessionDestroyed
public void sessionDestroyed(HttpSessionEvent sEvt)
getNumberSessions
public static int getNumberSessions()
maxSessionCount
public static int maxSessionCount()
maxSessionTime
public static java.util.Date maxSessionTime()
firstSessionTime
public static java.util.Date firstSessionTime()
getSession
public static HttpSession getSession(java.lang.String id)
getSessions
public static HttpSession[] getSessions()