From 0719fdf30afd942aedfcac51b6421628636a3116 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 6 Aug 2008 23:59:24 +0000 Subject: 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 --- .../sca/binding/gdata/impl/GDataBindingImpl.java | 39 ++-------------------- 1 file changed, 3 insertions(+), 36 deletions(-) (limited to 'java/sca/modules/binding-gdata/src/main') diff --git a/java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java b/java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java index 3081816185..1d58552c8f 100644 --- a/java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java +++ b/java/sca/modules/binding-gdata/src/main/java/org/apache/tuscany/sca/binding/gdata/impl/GDataBindingImpl.java @@ -21,10 +21,6 @@ package org.apache.tuscany.sca.binding.gdata.impl; import java.util.ArrayList; import java.util.List; -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; import org.apache.tuscany.sca.binding.gdata.GDataBinding; import org.apache.tuscany.sca.policy.Intent; import org.apache.tuscany.sca.policy.IntentAttachPointType; @@ -36,7 +32,7 @@ import org.apache.tuscany.sca.policy.PolicySetAttachPoint; * * @version $Rev$ $Date$ */ -class GDataBindingImpl implements GDataBinding, OptimizableBinding, PolicySetAttachPoint { +class GDataBindingImpl implements GDataBinding, PolicySetAttachPoint { private String password; private String username; @@ -100,41 +96,12 @@ class GDataBindingImpl implements GDataBinding, OptimizableBinding, PolicySetAtt public void setType(IntentAttachPointType intentAttachPointType) { this.intentAttachPointType = intentAttachPointType; - } //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; - + } + public Object clone() throws CloneNotSupportedException { 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; - } - public void setPolicySets(List policySets) { this.policySets = policySets; } -- cgit v1.2.3