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/logger FileLogger.java
Date Fri, 09 Nov 2001 19:39:56 GMT
remm        01/11/09 11:39:56

  Modified:    catalina/src/share/org/apache/catalina/logger
                        FileLogger.java
  Log:
  - Add new findLifecycleListeners method.
  
  Revision  Changes    Path
  1.5       +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/logger/FileLogger.java
  
  Index: FileLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/logger/FileLogger.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FileLogger.java	2001/10/23 23:03:28	1.4
  +++ FileLogger.java	2001/11/09 19:39:56	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/logger/FileLogger.java,v
1.4 2001/10/23 23:03:28 remm Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/10/23 23:03:28 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/logger/FileLogger.java,v
1.5 2001/11/09 19:39:56 remm Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/11/09 19:39:56 $
    *
    * ====================================================================
    *
  @@ -84,7 +84,7 @@
    * optional preceding timestamp.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.4 $ $Date: 2001/10/23 23:03:28 $
  + * @version $Revision: 1.5 $ $Date: 2001/11/09 19:39:56 $
    */
   
   public final class FileLogger
  @@ -351,6 +351,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();
   
       }
   
  
  
  

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