Author: mcombellack
Date: Thu Mar 20 04:19:45 2008
New Revision: 639248

URL: http://svn.apache.org/viewvc?rev=639248&view=rev
Log:
Minor JavaDoc updates and spelling corrections

Modified:
    
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCABindingInvoker.java
    
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAReferenceBindingProvider.java
    
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAServiceBindingProvider.java

Modified: 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCABindingInvoker.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCABindingInvoker.java?rev=639248&r1=639247&r2=639248&view=diff
==============================================================================
--- 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCABindingInvoker.java
 (original)
+++ 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCABindingInvoker.java
 Thu Mar 20 04:19:45 2008
@@ -28,7 +28,7 @@
 
 
 /**
- * A wrapper for the Axis2BindingInvoker that ensures that the url of the 
target
+ * A wrapper for the Axis2BindingInvoker that ensures that the URL of the 
target
  * service is correct by looking it up in the service registry if it is not 
provided
  * 
  * @version $Rev: 563772 $ $Date: 2007-08-08 07:50:49 +0100 (Wed, 08 Aug 2007) 
$
@@ -67,7 +67,7 @@
         // field of the message
         EndpointReference to = msg.getTo();
 
-        // check to see if we either don't have an endpoint set or if the uri 
+        // check to see if we either don't have an endpoint set or if the URI 
         // is dynamic or the target service is marked as unresolved
         if ((to == null) || (to.getURI().equals("/") || (to.getContract() == 
null) || (to.getContract().isUnresolved()))) {
 

Modified: 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAReferenceBindingProvider.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAReferenceBindingProvider.java?rev=639248&r1=639247&r2=639248&view=diff
==============================================================================
--- 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAReferenceBindingProvider.java
 (original)
+++ 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAReferenceBindingProvider.java
 Thu Mar 20 04:19:45 2008
@@ -82,7 +82,7 @@
         this.binding = binding.getSCABinding();
         wsBinding = (new 
DefaultWebServiceBindingFactory()).createWebServiceBinding();
        
-        // Turn the java interface contract into a wsdl interface contract
+        // Turn the java interface contract into a WSDL interface contract
         InterfaceContract contract = reference.getInterfaceContract();
         if ((contract instanceof JavaInterfaceContract)) {
             contract = 
Java2WSDLHelper.createWSDLInterfaceContract((JavaInterfaceContract)contract);
@@ -232,7 +232,7 @@
     }
     
     /**
-     * Retrieves the uri of the callback service (that this reference has 
created)
+     * Retrieves the URI of the callback service (that this reference has 
created)
      * returns null if there is no callback service for the sca binding
      * 
      * @return the callback endpoint

Modified: 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAServiceBindingProvider.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAServiceBindingProvider.java?rev=639248&r1=639247&r2=639248&view=diff
==============================================================================
--- 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAServiceBindingProvider.java
 (original)
+++ 
incubator/tuscany/java/sca/modules/binding-sca-axis2/src/main/java/org/apache/tuscany/sca/binding/sca/axis2/impl/Axis2SCAServiceBindingProvider.java
 Thu Mar 20 04:19:45 2008
@@ -69,7 +69,7 @@
         this.binding = binding.getSCABinding();
         wsBinding = (new 
DefaultWebServiceBindingFactory()).createWebServiceBinding();
         
-        // Turn the java interface contract into a wsdl interface contract
+        // Turn the java interface contract into a WSDL interface contract
         InterfaceContract contract = service.getInterfaceContract();
         if ((contract instanceof JavaInterfaceContract)) {
             contract = 
Java2WSDLHelper.createWSDLInterfaceContract((JavaInterfaceContract)contract);
@@ -100,7 +100,7 @@
             if (domainProxy != null) {
 
                 // work out what the component service name is that will be 
registered
-                // it should be the path element of the binding uri
+                // it should be the path element of the binding URI
                 String componentServiceName = this.binding.getURI();
                        
                try {
@@ -112,11 +112,11 @@
                         componentServiceName = 
componentServiceName.substring(1, componentServiceName.length());
                     }
                 } catch(Exception ex) {
-                    // do nothing, the binding uri string will be used
+                    // do nothing, the binding URI string will be used
                 }
                        
                 // work out what the endpoint address is that the component 
service name will be registered
-                // against. Be default this is the url calculated by the web 
services binding but
+                // against. Be default this is the URL calculated by the web 
services binding but
                 // we have to adjust that to:
                 // 1. correct the host and port in the case that this is a web 
app as the container controls the port
                 // 2. correct the host name in the case that it's localhost    
                
@@ -130,8 +130,8 @@
                 //        host if it is controlling the URL
                 if 
(servletHost.getClass().getName().equals("WebbAppServletHost")){
                     // the service URL will likely be completely different to 
that 
-                    // calculated by the ws binding so replace it with the 
node url
-                    // The node url will have been set via init parameters in 
the web app
+                    // calculated by the ws binding so replace it with the 
node URL
+                    // The node URL will have been set via init parameters in 
the web app
                     URL nodeUrl;
                     try {
                         URI tmpURI = new URI(nodeFactory.getNode().getURI());



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to