diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-11 00:53:16 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-11 00:53:16 +0000 |
commit | cd07713f408a9edc820fb70a7dead012ee1ff899 (patch) | |
tree | baea598f776a47141d9afc49f453200ba1f947f2 /sca-java-2.x/trunk/modules/binding-jsonp/src | |
parent | c607b0cf671eda11eff333748e4ce3a75ce941d1 (diff) |
Refactoring binding http model to bring back support for servlet based resources, and making rpc style it's own operationSelector
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1200669 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-jsonp/src')
-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, 5 insertions, 5 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 7ef6fcf91d..195e2d71fc 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 @@ -21,9 +21,9 @@ 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; +import org.apache.tuscany.sca.binding.http.operationselector.HTTPRPCOperationSelector; +import org.apache.tuscany.sca.binding.http.wireformat.HTTPJSONWireFormat; /** * JSONP Binding model @@ -36,9 +36,9 @@ public class JSONPBinding extends HTTPBindingImpl { super(); // configure the HTTP binding for JSONP (which for the moment is the default wireFormat) - setOperationSelector(new HTTPDefaultOperationSelector()); - setRequestWireFormat(new HTTPDefaultWireFormat()); - setResponseWireFormat(new HTTPDefaultWireFormat()); + setOperationSelector(new HTTPRPCOperationSelector()); + setRequestWireFormat(new HTTPJSONWireFormat()); + setResponseWireFormat(new HTTPJSONWireFormat()); } @Override |