axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/server AxisServer.java
Date Fri, 15 Jun 2001 20:04:14 GMT
gdaniels    01/06/15 13:04:13

  Modified:    java/src/org/apache/axis/server AxisServer.java
  Log:
  Forgot to call init() in the right places.
  
  Revision  Changes    Path
  1.20      +5 -1      xml-axis/java/src/org/apache/axis/server/AxisServer.java
  
  Index: AxisServer.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/server/AxisServer.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- AxisServer.java	2001/06/15 19:52:01	1.19
  +++ AxisServer.java	2001/06/15 20:04:10	1.20
  @@ -76,8 +76,11 @@
       private static AxisServer singleton = null;
       public static AxisServer getSingleton()
       {
  -        if (singleton == null)
  +        if (singleton == null) {
               singleton = new AxisServer();
  +            singleton.init();
  +            // ??? Why doesn't init just happen in the constructor?
  +        }
           return singleton;
       }
       
  @@ -92,6 +95,7 @@
        */
       public void start()
       {
  +        init();
           running = true;
       }
       
  
  
  

Mime
View raw message