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 Lifecycle.java
Date Fri, 09 Nov 2001 19:37:04 GMT
remm        01/11/09 11:37:04

  Modified:    catalina/src/share/org/apache/catalina Lifecycle.java
  Log:
  - API CHANGE: add new findLifecycleListeners method. This change is very limited
    in scope, because the implementation of the method with LifecycleSupport is
    very easy.
  
  Revision  Changes    Path
  1.4       +11 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java
  
  Index: Lifecycle.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Lifecycle.java	2001/07/22 20:13:30	1.3
  +++ Lifecycle.java	2001/11/09 19:37:04	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v
1.3 2001/07/22 20:13:30 pier Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/07/22 20:13:30 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Lifecycle.java,v
1.4 2001/11/09 19:37:04 remm Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/11/09 19:37:04 $
    *
    * ====================================================================
    *
  @@ -72,7 +72,7 @@
    * provide a consistent mechanism to start and stop the component.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.3 $ $Date: 2001/07/22 20:13:30 $
  + * @version $Revision: 1.4 $ $Date: 2001/11/09 19:37:04 $
    */
   
   public interface Lifecycle {
  @@ -103,6 +103,13 @@
        * @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();
   
   
       /**
  
  
  

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