tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp WarpConnector.java
Date Fri, 09 Nov 2001 19:38:44 GMT
remm        01/11/09 11:38:44

  Modified:    catalina/src/share/org/apache/catalina/connector/http
                        HttpConnector.java HttpProcessor.java
               catalina/src/share/org/apache/catalina/connector/http10
                        HttpConnector.java HttpProcessor.java
               catalina/src/share/org/apache/catalina/connector/warp
                        WarpConnector.java
  Log:
  - Add new findLifecycleListeners method.
  
  Revision  Changes    Path
  1.28      +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpConnector.java
  
  Index: HttpConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpConnector.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- HttpConnector.java	2001/10/26 19:14:51	1.27
  +++ HttpConnector.java	2001/11/09 19:38:43	1.28
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpConnector.java,v
1.27 2001/10/26 19:14:51 remm Exp $
  - * $Revision: 1.27 $
  - * $Date: 2001/10/26 19:14:51 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpConnector.java,v
1.28 2001/11/09 19:38:43 remm Exp $
  + * $Revision: 1.28 $
  + * $Date: 2001/11/09 19:38:43 $
    *
    * ====================================================================
    *
  @@ -102,7 +102,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.27 $ $Date: 2001/10/26 19:14:51 $
  + * @version $Revision: 1.28 $ $Date: 2001/11/09 19:38:43 $
    */
   
   
  @@ -1128,6 +1128,17 @@
       public void addLifecycleListener(LifecycleListener listener) {
   
           lifecycle.addLifecycleListener(listener);
  +
  +    }
  +
  +
  +    /**
  +     * Get the lifecycle listeners associated with this lifecycle. If this 
  +     * Lifecycle has no listeners registered, a zero-length array is returned.
  +     */
  +    public LifecycleListener[] findLifecycleListeners() {
  +
  +        return lifecycle.findLifecycleListeners();
   
       }
   
  
  
  
  1.39      +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpProcessor.java
  
  Index: HttpProcessor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpProcessor.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- HttpProcessor.java	2001/11/01 17:59:45	1.38
  +++ HttpProcessor.java	2001/11/09 19:38:43	1.39
  @@ -1,6 +1,6 @@
  -/* * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpProcessor.java,v
1.38 2001/11/01 17:59:45 remm Exp $
  - * $Revision: 1.38 $
  - * $Date: 2001/11/01 17:59:45 $
  +/* * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpProcessor.java,v
1.39 2001/11/09 19:38:43 remm Exp $
  + * $Revision: 1.39 $
  + * $Date: 2001/11/09 19:38:43 $
    *
    * ====================================================================
    *
  @@ -106,7 +106,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.38 $ $Date: 2001/11/01 17:59:45 $
  + * @version $Revision: 1.39 $ $Date: 2001/11/09 19:38:43 $
    */
   
   final class HttpProcessor
  @@ -1172,6 +1172,17 @@
       public void addLifecycleListener(LifecycleListener listener) {
   
           lifecycle.addLifecycleListener(listener);
  +
  +    }
  +
  +
  +    /**
  +     * Get the lifecycle listeners associated with this lifecycle. If this 
  +     * Lifecycle has no listeners registered, a zero-length array is returned.
  +     */
  +    public LifecycleListener[] findLifecycleListeners() {
  +
  +        return lifecycle.findLifecycleListeners();
   
       }
   
  
  
  
  1.15      +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http10/HttpConnector.java
  
  Index: HttpConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http10/HttpConnector.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- HttpConnector.java	2001/10/17 02:33:45	1.14
  +++ HttpConnector.java	2001/11/09 19:38:44	1.15
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http10/HttpConnector.java,v
1.14 2001/10/17 02:33:45 craigmcc Exp $
  - * $Revision: 1.14 $
  - * $Date: 2001/10/17 02:33:45 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http10/HttpConnector.java,v
1.15 2001/11/09 19:38:44 remm Exp $
  + * $Revision: 1.15 $
  + * $Date: 2001/11/09 19:38:44 $
    *
    * ====================================================================
    *
  @@ -100,7 +100,7 @@
    * purposes.  Not intended to be the final solution.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.14 $ $Date: 2001/10/17 02:33:45 $
  + * @version $Revision: 1.15 $ $Date: 2001/11/09 19:38:44 $
    */
   
   
  @@ -1005,6 +1005,17 @@
       public void addLifecycleListener(LifecycleListener listener) {
   
           lifecycle.addLifecycleListener(listener);
  +
  +    }
  +
  +
  +    /**
  +     * Get the lifecycle listeners associated with this lifecycle. If this 
  +     * Lifecycle has no listeners registered, a zero-length array is returned.
  +     */
  +    public LifecycleListener[] findLifecycleListeners() {
  +
  +        return lifecycle.findLifecycleListeners();
   
       }
   
  
  
  
  1.5       +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http10/HttpProcessor.java
  
  Index: HttpProcessor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http10/HttpProcessor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HttpProcessor.java	2001/07/22 20:25:07	1.4
  +++ HttpProcessor.java	2001/11/09 19:38:44	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http10/HttpProcessor.java,v
1.4 2001/07/22 20:25:07 pier Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/07/22 20:25:07 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http10/HttpProcessor.java,v
1.5 2001/11/09 19:38:44 remm Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/11/09 19:38:44 $
    *
    * ====================================================================
    *
  @@ -104,7 +104,7 @@
    * the request.  When the processor is completed, it will recycle itself.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.4 $ $Date: 2001/07/22 20:25:07 $
  + * @version $Revision: 1.5 $ $Date: 2001/11/09 19:38:44 $
    */
   
   final class HttpProcessor
  @@ -851,6 +851,17 @@
       public void addLifecycleListener(LifecycleListener listener) {
   
           lifecycle.addLifecycleListener(listener);
  +
  +    }
  +
  +
  +    /**
  +     * Get the lifecycle listeners associated with this lifecycle. If this 
  +     * Lifecycle has no listeners registered, a zero-length array is returned.
  +     */
  +    public LifecycleListener[] findLifecycleListeners() {
  +
  +        return lifecycle.findLifecycleListeners();
   
       }
   
  
  
  
  1.21      +8 -0      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp/WarpConnector.java
  
  Index: WarpConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp/WarpConnector.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- WarpConnector.java	2001/10/30 22:19:54	1.20
  +++ WarpConnector.java	2001/11/09 19:38:44	1.21
  @@ -454,6 +454,14 @@
       }
   
       /**
  +     * Get the lifecycle listeners associated with this lifecycle. If this 
  +     * Lifecycle has no listeners registered, a zero-length array is returned.
  +     */
  +    public LifecycleListener[] findLifecycleListeners() {
  +        return lifecycle.findLifecycleListeners();
  +    }
  +
  +    /**
        * Remove a <code>LifecycleEvent</code> listener from this
        * <code>Connector</code>.
        *
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message