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/cluster StandardCluster.java
Date Fri, 09 Nov 2001 19:46:16 GMT
remm        01/11/09 11:46:16

  Modified:    catalina/src/share/org/apache/catalina/cluster
                        StandardCluster.java
  Log:
  - Add new findLifecycleListeners method.
  
  Revision  Changes    Path
  1.5       +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/cluster/StandardCluster.java
  
  Index: StandardCluster.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/cluster/StandardCluster.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StandardCluster.java	2001/07/22 20:25:06	1.4
  +++ StandardCluster.java	2001/11/09 19:46:16	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/cluster/StandardCluster.java,v
1.4 2001/07/22 20:25:06 pier Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/07/22 20:25:06 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/cluster/StandardCluster.java,v
1.5 2001/11/09 19:46:16 remm Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/11/09 19:46:16 $
    *
    * ====================================================================
    *
  @@ -84,7 +84,7 @@
    * a cluster and provides callers with a valid multicast receiver/sender.
    *
    * @author Bip Thelin
  - * @version $Revision: 1.4 $, $Date: 2001/07/22 20:25:06 $
  + * @version $Revision: 1.5 $, $Date: 2001/11/09 19:46:16 $
    */
   
   public final class StandardCluster
  @@ -473,6 +473,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