summaryrefslogtreecommitdiffstats
path: root/branches
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-03-27 08:38:17 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-03-27 08:38:17 +0000
commitb61f7f0649bf7527c1a1691b71b0d61b17f8535c (patch)
tree5d11c6480468084e4b258427543b57e34b2e52c8 /branches
parenta1372ebaa3d02c36348e13bb9fd33b02b922d5f5 (diff)
TUSCANY-2837 - Adding javadoc comments to JavascriptProxyFactory
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@759056 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches')
-rw-r--r--branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java b/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java
index e8009383c3..b6a0662a47 100644
--- a/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java
+++ b/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java
@@ -25,11 +25,31 @@ import javax.xml.namespace.QName;
import org.apache.tuscany.sca.assembly.ComponentReference;
+/**
+ * Javascript Proxy Factory used to allow Web related bindings to generate
+ * client js proxyies
+ *
+ * @version $Rev$ $Date$
+ */
public interface JavascriptProxyFactory {
+ /**
+ * The binding model type associated with this factory
+ * @return the binding model type
+ */
Class<?> getModelType();
+ /**
+ * The binding qname associated with this factory
+ * @return the binding qname
+ */
QName getQName();
+ /**
+ * Create a JavaScript Proxy for a given reference
+ * @param componentReference The reference
+ * @return the javascript proxy code
+ * @throws IOException
+ */
String scriptReference(ComponentReference componentReference) throws IOException;
}