You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2001/12/01 08:20:29 UTC

cvs commit: jakarta-tomcat-connectors/webapp/java WarpConnector.java

remm        01/11/30 23:20:29

  Modified:    webapp/java WarpConnector.java
  Log:
  - Add the findLifecycleListeners method, so that webapp builds against the
    HEAD of the CVS.
  
  Revision  Changes    Path
  1.26      +8 -0      jakarta-tomcat-connectors/webapp/java/WarpConnector.java
  
  Index: WarpConnector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/java/WarpConnector.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- WarpConnector.java	2001/10/31 08:10:29	1.25
  +++ WarpConnector.java	2001/12/01 07:20:29	1.26
  @@ -449,6 +449,14 @@
       }
   
       /**
  +     * 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 <code>LifecycleEvent</code> listener from this
        * <code>Connector</code>.
        *
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-tomcat-connectors/webapp/java WarpConnector.java

Posted by Remy Maucherat <re...@apache.org>.
> Ah! That is why it stops building against 4.0.1 ;-(

That's a backward compatible change, and it's very low impact. If you add
the method, it will still build with 4.0, 4.0.x, and the HEAD branch.

Remy

> remm@apache.org wrote:
> >
> > remm        01/11/30 23:20:29
> >
> >   Modified:    webapp/java WarpConnector.java
> >   Log:
> >   - Add the findLifecycleListeners method, so that webapp builds against
the
> >     HEAD of the CVS.
> >
> >   Revision  Changes    Path
> >   1.26      +8 -0
jakarta-tomcat-connectors/webapp/java/WarpConnector.java
> >
> >   Index: WarpConnector.java
> >   ===================================================================
> >   RCS file:
/home/cvs/jakarta-tomcat-connectors/webapp/java/WarpConnector.java,v
> >   retrieving revision 1.25
> >   retrieving revision 1.26
> >   diff -u -r1.25 -r1.26
> >   --- WarpConnector.java        2001/10/31 08:10:29     1.25
> >   +++ WarpConnector.java        2001/12/01 07:20:29     1.26
> >   @@ -449,6 +449,14 @@
> >        }
> >
> >        /**
> >   +     * 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 <code>LifecycleEvent</code> listener from this
> >         * <code>Connector</code>.
> >         *
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-tomcat-connectors/webapp/java WarpConnector.java

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Ah! That is why it stops building against 4.0.1 ;-(

remm@apache.org wrote:
> 
> remm        01/11/30 23:20:29
> 
>   Modified:    webapp/java WarpConnector.java
>   Log:
>   - Add the findLifecycleListeners method, so that webapp builds against the
>     HEAD of the CVS.
> 
>   Revision  Changes    Path
>   1.26      +8 -0      jakarta-tomcat-connectors/webapp/java/WarpConnector.java
> 
>   Index: WarpConnector.java
>   ===================================================================
>   RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/java/WarpConnector.java,v
>   retrieving revision 1.25
>   retrieving revision 1.26
>   diff -u -r1.25 -r1.26
>   --- WarpConnector.java        2001/10/31 08:10:29     1.25
>   +++ WarpConnector.java        2001/12/01 07:20:29     1.26
>   @@ -449,6 +449,14 @@
>        }
> 
>        /**
>   +     * 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 <code>LifecycleEvent</code> listener from this
>         * <code>Connector</code>.
>         *
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>