You are viewing a plain text version of this content. The canonical link for it is here.
Posted to servletapi-dev@jakarta.apache.org by da...@locus.apache.org on 2000/10/21 00:28:14 UTC

cvs commit: jakarta-servletapi/src/share/javax/servlet/http HttpSession.java HttpSessionBindingListener.java

dannyc      00/10/20 15:28:13

  Modified:    src/share/javax/servlet/http Tag: SERVLET_23_JSP_12
                        HttpSession.java HttpSessionBindingListener.java
  Log:
  javadoc clarifications for notifications, invalidation and expiry of sessions.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.4.4 +5 -3      jakarta-servletapi/src/share/javax/servlet/http/HttpSession.java
  
  Index: HttpSession.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/http/HttpSession.java,v
  retrieving revision 1.1.1.1.4.3
  retrieving revision 1.1.1.1.4.4
  diff -u -r1.1.1.1.4.3 -r1.1.1.1.4.4
  --- HttpSession.java	2000/10/17 01:35:22	1.1.1.1.4.3
  +++ HttpSession.java	2000/10/20 22:28:11	1.1.1.1.4.4
  @@ -86,7 +86,9 @@
    * session, the session checks whether the object implements
    * {@link HttpSessionBindingListener}. If it does, 
    * the servlet notifies the object that it has been bound to or unbound 
  - * from the session.
  + * from the session. Notifications are sent after the binding methods complete. 
  + * For session that are invalidated or expire, notifications are sent after
  + * the session has been invalidatd or expired.
    *
    * <p> When container migrates a session between VMs in a distributed container
    * setting, all session atributes implementing the {@link HttpSessionActivationListener}
  @@ -410,8 +412,8 @@
   
       /**
        *
  -     * Invalidates this session and unbinds any objects bound
  -     * to it.
  +     * Invalidates this session then unbinds any objects bound
  +     * to it. 
        *
        * @exception IllegalStateException	if this method is called on an
        *					already invalidated session
  
  
  
  1.1.1.1.4.1 +3 -1      jakarta-servletapi/src/share/javax/servlet/http/HttpSessionBindingListener.java
  
  Index: HttpSessionBindingListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/http/HttpSessionBindingListener.java,v
  retrieving revision 1.1.1.1
  retrieving revision 1.1.1.1.4.1
  diff -u -r1.1.1.1 -r1.1.1.1.4.1
  --- HttpSessionBindingListener.java	2000/04/26 05:22:30	1.1.1.1
  +++ HttpSessionBindingListener.java	2000/10/20 22:28:12	1.1.1.1.4.1
  @@ -70,7 +70,9 @@
   /**
    * Causes an object to be notified when it is bound to
    * or unbound from a session. The object is notified
  - * by an {@link HttpSessionBindingEvent} object.
  + * by an {@link HttpSessionBindingEvent} object. This may be as a result
  + * of a servlet programmer explicitly unbinding an attribute from a session,
  + * due to a session being invalidated, or die to a session timing out.
    *
    *
    * @author		Various