jakarta-servletapi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dan...@apache.org
Subject cvs commit: jakarta-servletapi-4/src/share/javax/servlet/http HttpSessionActivationListener.java HttpSessionListener.java
Date Fri, 13 Jul 2001 17:01:54 GMT
dannyc      01/07/13 10:01:52

  Modified:    src/share/javax/servlet/http
                        HttpSessionActivationListener.java
                        HttpSessionListener.java
  Log:
  brought the odd-men out listener interfaces into conformity by extending java.util.EventListener
like the others
  
  Revision  Changes    Path
  1.2       +3 -1      jakarta-servletapi-4/src/share/javax/servlet/http/HttpSessionActivationListener.java
  
  Index: HttpSessionActivationListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-4/src/share/javax/servlet/http/HttpSessionActivationListener.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HttpSessionActivationListener.java	2001/01/09 03:24:20	1.1
  +++ HttpSessionActivationListener.java	2001/07/13 17:01:25	1.2
  @@ -60,6 +60,8 @@
   
   package javax.servlet.http;
   
  +import java.util.EventListener;
  +
       /** Objects that are bound to a session may listen to container
       ** events notifying them that sessions will be passivated and that
       ** session will be activated. A container that migrates session between VMs
  @@ -69,7 +71,7 @@
       * @since 2.3
       */
       
  -public interface HttpSessionActivationListener { 
  +public interface HttpSessionActivationListener extends EventListener { 
   
       /** Notification that the session is about to be passivated.*/
       public void sessionWillPassivate(HttpSessionEvent se); 
  
  
  
  1.2       +3 -1      jakarta-servletapi-4/src/share/javax/servlet/http/HttpSessionListener.java
  
  Index: HttpSessionListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-4/src/share/javax/servlet/http/HttpSessionListener.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HttpSessionListener.java	2001/01/09 03:24:20	1.1
  +++ HttpSessionListener.java	2001/07/13 17:01:31	1.2
  @@ -60,6 +60,8 @@
   
   package javax.servlet.http;
   
  +import java.util.EventListener;
  +
   	/** 
   	* Implementations of this interface may are notified of changes to the 
   	* list of active sessions in a web application.
  @@ -69,7 +71,7 @@
   	 * @since	v 2.3
   	*/
   
  -public interface HttpSessionListener {
  +public interface HttpSessionListener extends EventListener {
       
   	/** 
   	* Notification that a session was created.
  
  
  

Mime
View raw message