summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-18 13:32:22 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-07-18 13:32:22 +0000
commit6aeb3566cde641802342a196fab4e339451eb9b1 (patch)
treeba6722d16f593bf26b3cb4b0ecf986ef4e3150f4 /branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
parent00bb769d177b68dd8554928e93de970ae1f28d23 (diff)
TUSCANY-3149 - Generally be more careful about removing object references in host-webapp. Specifically there is a problem with the axis ws binding (JIRA 3732 in the Axis project) where a shutdown hook is registered but not removed. This is fixed in Axis2 1.5 but as we are still in 1.4.1 I've worked round it here.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@795364 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java')
-rw-r--r--branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java b/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
index 080a60f575..9b02ee9fa2 100644
--- a/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
+++ b/branches/sca-java-1.x/modules/host-embedded/src/main/java/org/apache/tuscany/sca/host/embedded/impl/DefaultSCADomain.java
@@ -213,7 +213,12 @@ public class DefaultSCADomain extends SCADomain {
public void close() {
super.close();
node.stop();
-
+ node = null;
+ client = null;
+ components.clear();
+ compositeActivator = null;
+ applicationClassLoader = null;
+ componentManager = null;
}
@Override