summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-04-03 22:26:06 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-04-03 22:26:06 +0000
commit365c855d608d494458f6ee50b4b0d82dfd721e84 (patch)
tree70c4680e500e1d8b4e1cfd7b0c5ee29507d828a8
parent0e32d5e1b6c987782140de4856283225ef08f7a7 (diff)
Minor typo on method declaration
Adding some class description javadoc git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@761822 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java12
-rw-r--r--branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java11
2 files changed, 17 insertions, 6 deletions
diff --git a/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java b/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java
index 85b1a7aead..121baba47b 100644
--- a/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java
+++ b/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultComponentJavaScriptGeneratorExtensionPoint.java
@@ -39,6 +39,12 @@ import org.apache.tuscany.sca.monitor.MonitorFactory;
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 class DefaultComponentJavaScriptGeneratorExtensionPoint implements Compon
public ComponentJavaScriptGenerator getComponentJavaScriptGenerator(QName bindingName) {
- loadFacories();
+ loadFactories();
return generatorsByQName.get(bindingName);
}
public List<ComponentJavaScriptGenerator> getComponentJavaScriptGenerators() {
- loadFacories();
+ loadFactories();
return this.generators;
}
@@ -108,7 +114,7 @@ public class DefaultComponentJavaScriptGeneratorExtensionPoint implements Compon
* Lazily load artifact processors registered in the extension point.
*/
@SuppressWarnings("unchecked")
- private synchronized void loadFacories() {
+ private synchronized void loadFactories() {
if (loaded) {
return;
}
diff --git a/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java b/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java
index 78e8094a53..1c6097834f 100644
--- a/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java
+++ b/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/DefaultJavascriptProxyFactoryExtensionPoint.java
@@ -38,6 +38,11 @@ import org.apache.tuscany.sca.monitor.MonitorFactory;
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 class DefaultJavascriptProxyFactoryExtensionPoint implements JavascriptPr
}
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 @@ public class DefaultJavascriptProxyFactoryExtensionPoint implements JavascriptPr
/**
* Lazily load artifact processors registered in the extension point.
*/
- private synchronized void loadFacories() {
+ private synchronized void loadFactories() {
if (loaded) {
return;
}