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/loader WebappClassLoader.java WebappLoader.java
Date Fri, 09 Nov 2001 19:39:34 GMT
remm        01/11/09 11:39:34

  Modified:    catalina/src/share/org/apache/catalina/loader
                        WebappClassLoader.java WebappLoader.java
  Log:
  - Add new findLifecycleListeners method.
  
  Revision  Changes    Path
  1.26      +13 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java
  
  Index: WebappClassLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- WebappClassLoader.java	2001/11/01 18:45:01	1.25
  +++ WebappClassLoader.java	2001/11/09 19:39:34	1.26
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
1.25 2001/11/01 18:45:01 remm Exp $
  - * $Revision: 1.25 $
  - * $Date: 2001/11/01 18:45:01 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java,v
1.26 2001/11/09 19:39:34 remm Exp $
  + * $Revision: 1.26 $
  + * $Date: 2001/11/09 19:39:34 $
    *
    * ====================================================================
    *
  @@ -122,7 +122,7 @@
    *
    * @author Remy Maucherat
    * @author Craig R. McClanahan
  - * @version $Revision: 1.25 $ $Date: 2001/11/01 18:45:01 $
  + * @version $Revision: 1.26 $ $Date: 2001/11/09 19:39:34 $
    */
   public class WebappClassLoader
       extends URLClassLoader
  @@ -1442,6 +1442,15 @@
        * @param listener The listener to add
        */
       public void addLifecycleListener(LifecycleListener 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 new LifecycleListener[0];
       }
   
   
  
  
  
  1.18      +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappLoader.java
  
  Index: WebappLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappLoader.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- WebappLoader.java	2001/10/31 23:17:37	1.17
  +++ WebappLoader.java	2001/11/09 19:39:34	1.18
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappLoader.java,v
1.17 2001/10/31 23:17:37 remm Exp $
  - * $Revision: 1.17 $
  - * $Date: 2001/10/31 23:17:37 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/WebappLoader.java,v
1.18 2001/11/09 19:39:34 remm Exp $
  + * $Revision: 1.18 $
  + * $Date: 2001/11/09 19:39:34 $
    *
    * ====================================================================
    *
  @@ -119,7 +119,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.17 $ $Date: 2001/10/31 23:17:37 $
  + * @version $Revision: 1.18 $ $Date: 2001/11/09 19:39:34 $
    */
   
   public class WebappLoader
  @@ -564,6 +564,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