axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/utils resources.properties
Date Sun, 09 Dec 2001 15:27:49 GMT
rubys       01/12/09 07:27:49

  Modified:    java/src/org/apache/axis/client Tag: alpha-3 Service.java
               java/src/org/apache/axis/utils Tag: alpha-3
                        resources.properties
  Added:       java/src/org/apache/axis/client Tag: alpha-3
                        ServiceFactory.java
  Removed:     java/src/org/apache/axis/client Tag: alpha-3
                        AxisClientFactory.java
  Log:
  Backport client side JNDI changes to alpha-3
  Submitted by:	Glen Daniels
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.27.2.1  +17 -7     xml-axis/java/src/org/apache/axis/client/Service.java
  
  Index: Service.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Service.java,v
  retrieving revision 1.27
  retrieving revision 1.27.2.1
  diff -u -r1.27 -r1.27.2.1
  --- Service.java	2001/11/30 13:51:30	1.27
  +++ Service.java	2001/12/09 15:27:49	1.27.2.1
  @@ -102,7 +102,8 @@
       private Definition          wsdlDefinition = null ;
       private javax.wsdl.Service  wsdlService    = null ;
   
  -    private ConfigurationProvider configProvider = null;
  +    private ConfigurationProvider configProvider =
  +            new FileProvider(Constants.CLIENT_CONFIG_FILE);
   
       Definition getWSDLDefinition() {
           return( wsdlDefinition );
  @@ -114,12 +115,7 @@
   
       protected AxisClient getAxisClient() throws JAXRPCException
       {
  -        String name = "some name";
  -        try {
  -            return AxisClientFactory.getClient(name, configProvider);
  -        } catch (AxisFault fault) {
  -            throw new JAXRPCException(fault.getMessage());
  -        }
  +        return new AxisClient(configProvider);
       }
   
       /**
  @@ -423,5 +419,19 @@
        */
       public AxisEngine getEngine() {
           return( engine );
  +    }
  +
  +    /**
  +     * Set this Service's configuration provider.
  +     *
  +     * Note that since all of the constructors create the AxisClient right
  +     * now, this is basically a no-op.  Putting it in now so that we can make
  +     * lazy engine instantiation work, and not have to duplicate every single
  +     * Service constructor with a ConfigurationProvider argument.
  +     *
  +     * @param configProvider the ConfigurationProvider we want to use.
  +     */
  +    public void setConfigProvider(ConfigurationProvider configProvider) {
  +        this.configProvider = configProvider;
       }
   }
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +0 -0      xml-axis/java/src/org/apache/axis/client/ServiceFactory.java
  
  Index: ServiceFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/ServiceFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.20.2.3  +2 -0      xml-axis/java/src/org/apache/axis/utils/resources.properties
  
  Index: resources.properties
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/resources.properties,v
  retrieving revision 1.20.2.2
  retrieving revision 1.20.2.3
  diff -u -r1.20.2.2 -r1.20.2.3
  --- resources.properties	2001/12/08 23:07:00	1.20.2.2
  +++ resources.properties	2001/12/09 15:27:49	1.20.2.3
  @@ -121,6 +121,7 @@
   done00=Done processing
   doQuit00=Doing a quit
   
  +dupConfigProvider00=Attempt to set configProvider for already-configured Service!
   duplicateFile00=Duplicate file name: {0}.  \nHint: you may have mapped two namespaces with
elements of the same name to the same package name.
   duplicateClass00=Duplicate class name: {0}.  \nHint: you may have mapped two namespaces
with elements of the same name to the same package name.
   
  @@ -325,6 +326,7 @@
   
   noPrefix00={0} did not find prefix:  {1}
   noPrincipal00=No principal!
  +noProviderAttr00=No provider specified for service ''{0}''
   noProviderElem00=The required provider element is missing
   noRecorder00=No event recorder inside element
   
  
  
  

Mime
View raw message