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/core StandardServer.java
Date Sun, 11 Nov 2001 18:39:52 GMT
remm        01/11/11 10:39:52

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardServer.java
  Log:
  - Actually call setServer on the service, so that Service.getServer returns
    a non-null value.
  
  Revision  Changes    Path
  1.16      +6 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardServer.java
  
  Index: StandardServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardServer.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- StandardServer.java	2001/11/10 00:01:54	1.15
  +++ StandardServer.java	2001/11/11 18:39:52	1.16
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardServer.java,v
1.15 2001/11/10 00:01:54 craigmcc Exp $
  - * $Revision: 1.15 $
  - * $Date: 2001/11/10 00:01:54 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardServer.java,v
1.16 2001/11/11 18:39:52 remm Exp $
  + * $Revision: 1.16 $
  + * $Date: 2001/11/11 18:39:52 $
    *
    * ====================================================================
    *
  @@ -90,7 +90,7 @@
    * (but not required) when deploying and starting Catalina.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.15 $ $Date: 2001/11/10 00:01:54 $
  + * @version $Revision: 1.16 $ $Date: 2001/11/11 18:39:52 $
    */
   
   public final class StandardServer
  @@ -302,6 +302,8 @@
        * @param service The Service to be added
        */
       public void addService(Service service) {
  +
  +        service.setServer(this);
   
           synchronized (services) {
               Service results[] = new Service[services.length + 1];
  
  
  

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