axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/utils Admin.java
Date Thu, 31 May 2001 15:22:55 GMT
dug         01/05/31 08:22:55

  Modified:    java/src/org/apache/axis/utils Admin.java
  Log:
  Put back in some changes that Glen lost in his last update.
  
  Revision  Changes    Path
  1.34      +8 -4      xml-axis/java/src/org/apache/axis/utils/Admin.java
  
  Index: Admin.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/Admin.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- Admin.java	2001/05/31 09:24:54	1.33
  +++ Admin.java	2001/05/31 15:22:51	1.34
  @@ -79,14 +79,18 @@
   
     private void init() {
       if ( hr == null ) {
  -      // hr = new SimpleRegistry("handlers.reg");
  -      hr = new DefaultHandlerRegistry("handlers-supp.reg");
  +      if ( onServer )
  +        hr = new DefaultHandlerRegistry(Constants.SERVER_HANDLER_REGISTRY);
  +      else
  +        hr = new DefaultHandlerRegistry(Constants.CLIENT_HANDLER_REGISTRY);
         hr.setOnServer( onServer );
         hr.init();
       }
       if ( sr == null ) {
  -      // sr = new SimpleRegistry("services.reg");
  -      sr = new DefaultServiceRegistry("services-supp.reg");
  +      if ( onServer )
  +        sr = new DefaultServiceRegistry(Constants.SERVER_SERVICE_REGISTRY);
  +      else
  +        sr = new DefaultServiceRegistry(Constants.CLIENT_SERVICE_REGISTRY);
         hr.setOnServer( onServer );
         sr.init();
       }
  
  
  

Mime
View raw message