summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-01-11 00:16:24 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-01-11 00:16:24 +0000
commit82ab5eb85b357b58e4441cf8d5f212b1c5368aa5 (patch)
tree37b128e16bbf72a6b997b588b8daf279bd9b2049
parent5ae609d772940b13f95cd06a989551d1ba13ef38 (diff)
Make sure the binding uri is reset when the service is stopped
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1057420 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAServiceBindingProvider.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAServiceBindingProvider.java b/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAServiceBindingProvider.java
index fd04cf02e3..559ee59bc1 100644
--- a/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAServiceBindingProvider.java
+++ b/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/RuntimeSCAServiceBindingProvider.java
@@ -95,6 +95,7 @@ public class RuntimeSCAServiceBindingProvider implements EndpointAsyncProvider {
}
public void stop() {
+ endpoint.getBinding().setURI(null);
if (distributedProvider != null) {
distributedProvider.stop();
}