tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r761822 - in /tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web: DefaultComponentJavaScriptGeneratorExtensionPoint.java DefaultJavascriptProxyFactoryExtensionPoint.java
Date Fri, 03 Apr 2009 22:26:07 GMT
Author: lresende
Date: Fri Apr  3 22:26:06 2009
New Revision: 761822

URL: http://svn.apache.org/viewvc?rev=761822&view=rev
Log:
Minor typo on method declaration
Adding some class description javadoc

Modified:
    tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java
    tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java

Modified: tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java?rev=761822&r1=761821&r2=761822&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java
(original)
+++ tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java
Fri Apr  3 22:26:06 2009
@@ -39,6 +39,12 @@
 import org.apache.tuscany.sca.monitor.Problem;
 import org.apache.tuscany.sca.monitor.Problem.Severity;
 
+
+/**
+ * Default extension point for widget component script generator
+ * 
+ * @version $Rev$ $Date$
+ */
 public class DefaultComponentJavaScriptGeneratorExtensionPoint implements ComponentJavaScriptGeneratorExtensionPoint
{
     private final List<ComponentJavaScriptGenerator> generators = new ArrayList<ComponentJavaScriptGenerator>();
     private final Map<QName, ComponentJavaScriptGenerator> generatorsByQName = new
HashMap<QName, ComponentJavaScriptGenerator>();
@@ -90,12 +96,12 @@
     
 
     public ComponentJavaScriptGenerator getComponentJavaScriptGenerator(QName bindingName)
{
-        loadFacories();
+        loadFactories();
         return generatorsByQName.get(bindingName);
     }
     
     public List<ComponentJavaScriptGenerator> getComponentJavaScriptGenerators() {
-        loadFacories();
+        loadFactories();
         return this.generators;
     }
     
@@ -108,7 +114,7 @@
      * Lazily load artifact processors registered in the extension point.
      */
     @SuppressWarnings("unchecked")
-    private synchronized void loadFacories() {
+    private synchronized void loadFactories() {
         if (loaded) {
             return;
         }

Modified: tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java?rev=761822&r1=761821&r2=761822&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java
(original)
+++ tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java
Fri Apr  3 22:26:06 2009
@@ -38,6 +38,11 @@
 import org.apache.tuscany.sca.monitor.Problem;
 import org.apache.tuscany.sca.monitor.Problem.Severity;
 
+/**
+ * Default extension point for javascript proxy factories
+ * 
+ * @version $Rev$ $Date$
+ */
 public class DefaultJavascriptProxyFactoryExtensionPoint implements JavascriptProxyFactoryExtensionPoint
{
     private final Map<QName, JavascriptProxyFactory> factoriesByQName = new HashMap<QName,
JavascriptProxyFactory>();
     private final Map<Class<?>, JavascriptProxyFactory> factoriesByType = new
HashMap<Class<?>, JavascriptProxyFactory>();
@@ -87,12 +92,12 @@
     }
 
     public JavascriptProxyFactory getProxyFactory(QName bindingName) {
-        loadFacories();
+        loadFactories();
         return factoriesByQName.get(bindingName);
     }
 
     public JavascriptProxyFactory getProxyFactory(Class<?> bindingType) {
-        loadFacories();
+        loadFactories();
         Class<?>[] classes = bindingType.getInterfaces();
         for (Class<?> c : classes) {
             JavascriptProxyFactory proxyFactory = factoriesByType.get(c);
@@ -175,7 +180,7 @@
     /**
      * Lazily load artifact processors registered in the extension point.
      */
-    private synchronized void loadFacories() {
+    private synchronized void loadFactories() {
         if (loaded) {
             return;
         }



Mime
View raw message