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/valves AccessLogValve.java CertificatesValve.java JDBCAccessLogValve.java
Date Fri, 09 Nov 2001 19:41:10 GMT
remm        01/11/09 11:41:10

  Modified:    catalina/src/share/org/apache/catalina/valves
                        AccessLogValve.java CertificatesValve.java
                        JDBCAccessLogValve.java
  Log:
  - Add new findLifecycleListeners method.
  
  Revision  Changes    Path
  1.13      +12 -1     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/AccessLogValve.java
  
  Index: AccessLogValve.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/AccessLogValve.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- AccessLogValve.java	2001/10/25 21:13:44	1.12
  +++ AccessLogValve.java	2001/11/09 19:41:10	1.13
  @@ -129,7 +129,7 @@
    *
    * @author Craig R. McClanahan
    * @author Jason Brittain
  - * @version $Revision: 1.12 $ $Date: 2001/10/25 21:13:44 $
  + * @version $Revision: 1.13 $ $Date: 2001/11/09 19:41:10 $
    */
   
   public final class AccessLogValve
  @@ -826,6 +826,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.9       +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/CertificatesValve.java
  
  Index: CertificatesValve.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/CertificatesValve.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- CertificatesValve.java	2001/11/01 23:05:21	1.8
  +++ CertificatesValve.java	2001/11/09 19:41:10	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/CertificatesValve.java,v
1.8 2001/11/01 23:05:21 jfclere Exp $
  - * $Revision: 1.8 $
  - * $Date: 2001/11/01 23:05:21 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/CertificatesValve.java,v
1.9 2001/11/09 19:41:10 remm Exp $
  + * $Revision: 1.9 $
  + * $Date: 2001/11/09 19:41:10 $
    *
    * ====================================================================
    *
  @@ -112,7 +112,7 @@
    * amount of code that has to check for the existence of JSSE classes.</p>
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.8 $ $Date: 2001/11/01 23:05:21 $
  + * @version $Revision: 1.9 $ $Date: 2001/11/09 19:41:10 $
    */
   
   public final class CertificatesValve
  @@ -259,6 +259,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.2       +15 -0     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/JDBCAccessLogValve.java
  
  Index: JDBCAccessLogValve.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/valves/JDBCAccessLogValve.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JDBCAccessLogValve.java	2001/11/09 18:09:09	1.1
  +++ JDBCAccessLogValve.java	2001/11/09 19:41:10	1.2
  @@ -511,17 +511,32 @@
        * @param listener The listener to add.
        */  
       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();
  +
  +    }
  +
  +
  +    /**
        * Removes a Lifecycle listener.
        * 
        * @param listener The listener to remove.
        */
       public void removeLifecycleListener(LifecycleListener listener) {
  +
           lifecycle.removeLifecycleListener(listener);
  +
       }
   
   
  
  
  

--
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