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/util LifecycleSupport.java
Date Fri, 09 Nov 2001 19:40:54 GMT
remm        01/11/09 11:40:54

  Modified:    catalina/src/share/org/apache/catalina/util
                        LifecycleSupport.java
  Log:
  - Add new findLifecycleListeners method.
  
  Revision  Changes    Path
  1.3       +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/LifecycleSupport.java
  
  Index: LifecycleSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/LifecycleSupport.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LifecycleSupport.java	2001/07/22 20:25:13	1.2
  +++ LifecycleSupport.java	2001/11/09 19:40:54	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/LifecycleSupport.java,v
1.2 2001/07/22 20:25:13 pier Exp $
  - * $Revision: 1.2 $
  - * $Date: 2001/07/22 20:25:13 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/LifecycleSupport.java,v
1.3 2001/11/09 19:40:54 remm Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/11/09 19:40:54 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    * registered LifecycleListeners.
    *
    * @author Craig R. McClanahan
  - * @version $Id: LifecycleSupport.java,v 1.2 2001/07/22 20:25:13 pier Exp $
  + * @version $Id: LifecycleSupport.java,v 1.3 2001/11/09 19:40:54 remm Exp $
    */
   
   public final class LifecycleSupport {
  @@ -132,6 +132,17 @@
             results[listeners.length] = listener;
             listeners = results;
         }
  +
  +    }
  +
  +
  +    /**
  +     * 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 listeners;
   
       }
   
  
  
  

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