Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.core
Class OpenCmsServletNotify  view OpenCmsServletNotify download OpenCmsServletNotify.java

java.lang.Object
  extended bycom.opencms.core.OpenCmsServletNotify
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener

class OpenCmsServletNotify
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener

Implementation of the HttpSessionBindingListener interface.
The OpenCmsServletNotify Object is notified when it is bound or unbound to a HTTPSession. It is required to inform the OpemCms that a session is destroyed and must be removed from the CmsCoreSession storage.

Version:
$Revision: 1.12 $ $Date: 2002/12/06 23:16:51 $

Field Summary
(package private)  java.lang.String m_id
           
(package private)  CmsCoreSession m_sessionStorage
           
 
Constructor Summary
OpenCmsServletNotify(java.lang.String id, CmsCoreSession sessionStorage)
          Constructor, creates a new OpenCmsServletNotify object.
 
Method Summary
 void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
          Called when the listener is bound to a session.
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
          Called when the listener is unbound from to a session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_id

java.lang.String m_id

m_sessionStorage

CmsCoreSession m_sessionStorage
Constructor Detail

OpenCmsServletNotify

public OpenCmsServletNotify(java.lang.String id,
                            CmsCoreSession sessionStorage)
Constructor, creates a new OpenCmsServletNotify object.

Method Detail

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Called when the listener is bound to a session.

Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Called when the listener is unbound from to a session.

Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener