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/session PersistentManagerBase.java StandardManager.java StoreBase.java
Date Fri, 09 Nov 2001 19:40:26 GMT
remm        01/11/09 11:40:26

  Modified:    catalina/src/share/org/apache/catalina/session
                        PersistentManagerBase.java StandardManager.java
                        StoreBase.java
  Log:
  - Add new findLifecycleListeners method.
  
  Revision  Changes    Path
  1.7       +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java
  
  Index: PersistentManagerBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PersistentManagerBase.java	2001/08/10 20:12:00	1.6
  +++ PersistentManagerBase.java	2001/11/09 19:40:25	1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java,v
1.6 2001/08/10 20:12:00 craigmcc Exp $
  - * $Revision: 1.6 $
  - * $Date: 2001/08/10 20:12:00 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java,v
1.7 2001/11/09 19:40:25 remm Exp $
  + * $Revision: 1.7 $
  + * $Date: 2001/11/09 19:40:25 $
    *
    * ====================================================================
    *
  @@ -105,7 +105,7 @@
    * <code>stop()</code> methods of this class at the correct times.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.6 $ $Date: 2001/08/10 20:12:00 $
  + * @version $Revision: 1.7 $ $Date: 2001/11/09 19:40:25 $
    */
   
   public abstract class PersistentManagerBase
  @@ -778,6 +778,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();
   
       }
   
  
  
  
  1.16      +15 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardManager.java
  
  Index: StandardManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardManager.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- StandardManager.java	2001/09/15 23:37:52	1.15
  +++ StandardManager.java	2001/11/09 19:40:25	1.16
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardManager.java,v
1.15 2001/09/15 23:37:52 craigmcc Exp $
  - * $Revision: 1.15 $
  - * $Date: 2001/09/15 23:37:52 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StandardManager.java,v
1.16 2001/11/09 19:40:25 remm Exp $
  + * $Revision: 1.16 $
  + * $Date: 2001/11/09 19:40:25 $
    *
    * ====================================================================
    *
  @@ -106,7 +106,7 @@
    * <code>stop()</code> methods of this class at the correct times.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.15 $ $Date: 2001/09/15 23:37:52 $
  + * @version $Revision: 1.16 $ $Date: 2001/11/09 19:40:25 $
    */
   
   public class StandardManager
  @@ -567,6 +567,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();
   
       }
   
  
  
  
  1.4       +16 -4     jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StoreBase.java
  
  Index: StoreBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StoreBase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- StoreBase.java	2001/07/22 20:25:12	1.3
  +++ StoreBase.java	2001/11/09 19:40:26	1.4
  @@ -1,8 +1,8 @@
   /*
    * StoreBase.java
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StoreBase.java,v
1.3 2001/07/22 20:25:12 pier Exp $
  - * $Revision: 1.3 $
  - * $Date: 2001/07/22 20:25:12 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/StoreBase.java,v
1.4 2001/11/09 19:40:26 remm Exp $
  + * $Revision: 1.4 $
  + * $Date: 2001/11/09 19:40:26 $
    *
    * ====================================================================
    *
  @@ -83,7 +83,7 @@
    * support most of the functionality required by a Store.
    *
    * @author Bip Thelin
  - * @version $Revision: 1.3 $, $Date: 2001/07/22 20:25:12 $
  + * @version $Revision: 1.4 $, $Date: 2001/11/09 19:40:26 $
    */
   
   public abstract class StoreBase
  @@ -239,6 +239,18 @@
       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();
  +
  +    }
  +
   
       /**
        * Remove a lifecycle event listener from this component.
  
  
  

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