diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jsonp')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-jsonp/src/main/java/org/apache/tuscany/sca/binding/jsonp/JSONPBinding.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-jsonp/src/main/java/org/apache/tuscany/sca/binding/jsonp/JSONPBinding.java b/sca-java-2.x/trunk/modules/binding-jsonp/src/main/java/org/apache/tuscany/sca/binding/jsonp/JSONPBinding.java index 45878f4f50..3b57ca199e 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonp/src/main/java/org/apache/tuscany/sca/binding/jsonp/JSONPBinding.java +++ b/sca-java-2.x/trunk/modules/binding-jsonp/src/main/java/org/apache/tuscany/sca/binding/jsonp/JSONPBinding.java @@ -19,6 +19,8 @@ package org.apache.tuscany.sca.binding.jsonp; +import javax.xml.namespace.QName; + import org.apache.tuscany.sca.binding.http.HTTPDefaultOperationSelector; import org.apache.tuscany.sca.binding.http.HTTPDefaultWireFormat; import org.apache.tuscany.sca.binding.http.impl.HTTPBindingImpl; @@ -27,6 +29,9 @@ import org.apache.tuscany.sca.binding.http.impl.HTTPBindingImpl; * JSONP Binding model */ public class JSONPBinding extends HTTPBindingImpl { + + QName TYPE = new QName(SCA11_TUSCANY_NS, "binding.jsonp"); + public JSONPBinding() { super(); @@ -35,4 +40,9 @@ public class JSONPBinding extends HTTPBindingImpl { setRequestWireFormat(new HTTPDefaultWireFormat()); setResponseWireFormat(new HTTPDefaultWireFormat()); } + + @Override + public QName getType() { + return TYPE; + } } |