From 82ab5eb85b357b58e4441cf8d5f212b1c5368aa5 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 11 Jan 2011 00:16:24 +0000 Subject: 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 --- .../sca/binding/sca/provider/RuntimeSCAServiceBindingProvider.java | 1 + 1 file changed, 1 insertion(+) 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(); } -- cgit v1.2.3