summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/core
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-01-11 00:42:26 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-01-11 00:42:26 +0000
commit25cdf783ef21b171762557195957d8dee16f2e29 (patch)
tree78f0c3934cf9ab4a006ee84db1415213fd4540a1 /sca-java-2.x/trunk/modules/core
parent82ab5eb85b357b58e4441cf8d5f212b1c5368aa5 (diff)
Clear the endpoints when the service is stopped
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1057430 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/core')
-rw-r--r--sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java
index db345826d1..da28cab2a2 100644
--- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java
+++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/CompositeActivatorImpl.java
@@ -477,6 +477,7 @@ public class CompositeActivatorImpl implements CompositeActivator {
RuntimeEndpoint ep = (RuntimeEndpoint) endpoint;
stop(ep);
}
+ service.getEndpoints().clear();
}
for (ComponentReference reference : component.getReferences()) {
if (logger.isLoggable(Level.FINE)) {