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

  Modified:    catalina/src/share/org/apache/catalina/realm RealmBase.java
  Log:
  - Add new findLifecycleListeners method.
  
  Revision  Changes    Path
  1.9       +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/realm/RealmBase.java
  
  Index: RealmBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/realm/RealmBase.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- RealmBase.java	2001/10/17 00:44:02	1.8
  +++ RealmBase.java	2001/11/09 19:40:12	1.9
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/realm/RealmBase.java,v
1.8 2001/10/17 00:44:02 craigmcc Exp $
  - * $Revision: 1.8 $
  - * $Date: 2001/10/17 00:44:02 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/realm/RealmBase.java,v
1.9 2001/11/09 19:40:12 remm Exp $
  + * $Revision: 1.9 $
  + * $Date: 2001/11/09 19:40:12 $
    *
    * ====================================================================
    *
  @@ -92,7 +92,7 @@
    * location) are identical to those currently supported by Tomcat 3.X.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.8 $ $Date: 2001/10/17 00:44:02 $
  + * @version $Revision: 1.9 $ $Date: 2001/11/09 19:40:12 $
    */
   
   public abstract class RealmBase
  @@ -475,6 +475,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