You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by mc...@apache.org on 2008/03/21 22:06:35 UTC

svn commit: r639839 - in /incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node: SCANodeFactory.java util/SCAContributionUtil.java

Author: mcombellack
Date: Fri Mar 21 14:06:34 2008
New Revision: 639839

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

Modified:
    incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANodeFactory.java
    incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/util/SCAContributionUtil.java

Modified: incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANodeFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANodeFactory.java?rev=639839&r1=639838&r2=639839&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANodeFactory.java (original)
+++ incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/SCANodeFactory.java Fri Mar 21 14:06:34 2008
@@ -104,7 +104,7 @@
      *        don't provide this information
      * @param domainURI the URI of the domain that the node belongs to. This URI is 
      *        used to locate the domain manager on the network
-     * @param logicalNodeURI the uri of the node to be used in situations where more than one node 
+     * @param logicalNodeURI the URI of the node to be used in situations where more than one node 
      *        are grouped together for failover or load balancing scenarios. The logicalNodeURI
      *        will typically identify the logical node where requests are sent
      * @return a new SCA node.
@@ -115,7 +115,7 @@
      *  Creates a new SCA node. Many physical nodes may share the same logical URL in load balancing
      *  and failover scenarios where each node in the group runs the same contribution and 
      *  active composites. Also allows a class loaded to b specified. This is the 
-     *  classloader that will be used to load the management application used by the 
+     *  ClassLoader that will be used to load the management application used by the 
      *  node to talk to the domain
      * 
      * @param physicalNodeURI the URI of the node, this URI is used to provide the default 
@@ -123,12 +123,12 @@
      *        don't provide this information
      * @param domainURI the URI of the domain that the node belongs to. This URI is 
      *        used to locate the domain manager on the network
-     * @param logicalNodeURI the uri of the node to be used in situations where more than one node 
+     * @param logicalNodeURI the URI of the node to be used in situations where more than one node 
      *        are grouped together for failover or load balancing scenarios. The logicalNodeURI
      *        will typically identify the logical node where requests are sent. If null is provided
      *        no logicalNodeURI is set.
      * @param classLoader the class loader to use by default when loading contributions. If null is provided
-     *        the classloader the dervied automatically. 
+     *        the ClassLoader the derived automatically. 
      * @return a new SCA node.
      */
     public abstract SCANode createSCANode(String physicalNodeURI, String domainURI, String logicalNodeURI, ClassLoader classLoader) throws NodeException;

Modified: incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/util/SCAContributionUtil.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/util/SCAContributionUtil.java?rev=639839&r1=639838&r2=639839&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/util/SCAContributionUtil.java (original)
+++ incubator/tuscany/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/util/SCAContributionUtil.java Fri Mar 21 14:06:34 2008
@@ -64,14 +64,14 @@
                 // directory contribution
                 if (contributionURLString.endsWith(compositeString)) {
                     String location = contributionURLString.substring(0, contributionURLString.lastIndexOf(compositeString));
-                    // workaround from evil url/uri form maven
+                    // workaround from evil URL/URI form Maven
                     contributionURL = toFile(new URL(location)).toURI().toURL();
                 }
     
             } else if ("jar".equals(protocol)) {
                 // jar contribution
                 String location = contributionURLString.substring(4, contributionURLString.lastIndexOf("!/"));
-                // workaround for evil url/uri from maven
+                // workaround for evil URL/URI from Maven
                 contributionURL = toFile(new URL(location)).toURI().toURL();
             }
         } 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org