You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2009/03/27 09:38:21 UTC
svn commit: r759056 -
/tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java
Author: lresende
Date: Fri Mar 27 08:38:17 2009
New Revision: 759056
URL: http://svn.apache.org/viewvc?rev=759056&view=rev
Log:
TUSCANY-2837 - Adding javadoc comments to JavascriptProxyFactory
Modified:
tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java
Modified: tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.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/JavascriptProxyFactory.java?rev=759056&r1=759055&r2=759056&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java (original)
+++ tuscany/branches/sca-java-1.x/modules/core-web/src/main/java/org/apache/tuscany/sca/core/web/JavascriptProxyFactory.java Fri Mar 27 08:38:17 2009
@@ -25,11 +25,31 @@
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;
}