summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/binding-jsonrpc
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-08-06 23:59:24 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-08-06 23:59:24 +0000
commit0719fdf30afd942aedfcac51b6421628636a3116 (patch)
tree2d6005a1ddcf4c20ae98c086c70c9f7a6047f788 /java/sca/modules/binding-jsonrpc
parent6710d81c4b9c7428b68891ab1fb65a94bc1dc1bf (diff)
Fixed the start method of the Web 2.0 binding providers where we were overwriting the model binding URI with the URI calculated at runtime, and removed the FIXME and TODO comments that were used to flag that issue.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@683451 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/binding-jsonrpc')
-rw-r--r--java/sca/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCBinding.java39
1 files changed, 3 insertions, 36 deletions
diff --git a/java/sca/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCBinding.java b/java/sca/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCBinding.java
index 409acf99f7..4160213e8c 100644
--- a/java/sca/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCBinding.java
+++ b/java/sca/modules/binding-jsonrpc/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/JSONRPCBinding.java
@@ -20,16 +20,13 @@
package org.apache.tuscany.sca.binding.jsonrpc;
import org.apache.tuscany.sca.assembly.Binding;
-import org.apache.tuscany.sca.assembly.Component;
-import org.apache.tuscany.sca.assembly.ComponentService;
-import org.apache.tuscany.sca.assembly.OptimizableBinding;
/**
* A model for the JSONRPC binding.
*
* @version $Rev$ $Date$
*/
-public class JSONRPCBinding implements OptimizableBinding {
+public class JSONRPCBinding implements Binding {
private String name;
private String uri;
@@ -58,39 +55,9 @@ public class JSONRPCBinding implements OptimizableBinding {
// The binding is always resolved
}
- //FIXME Temporary to get access to the target binding information
- // To be removed when the distributed domain supports wiring of other
- // bindings than the SCA binding
- private Binding targetBinding;
- private Component targetComponent;
- private ComponentService targetComponentService;
-
+ @Override
public Object clone() throws CloneNotSupportedException {
+ // TODO Auto-generated method stub
return super.clone();
}
-
- public Binding getTargetBinding() {
- return targetBinding;
- }
-
- public void setTargetBinding(Binding binding) {
- this.targetBinding = binding;
- }
-
- public Component getTargetComponent() {
- return targetComponent;
- }
-
- public void setTargetComponent(Component component) {
- this.targetComponent = component;
- }
-
- public ComponentService getTargetComponentService() {
- return targetComponentService;
- }
-
- public void setTargetComponentService(ComponentService service) {
- this.targetComponentService = service;
- }
-
}