summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-08-26 19:30:09 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-08-26 19:30:09 +0000
commit445cc0f79594bb29ea3089fe67917acd8f1f3ba1 (patch)
tree0eba017d305a43a6265d24beb380e6ae4f65bbb0
parent1558a09905b8dcc0a5ca917364293704fe076c07 (diff)
gracefully shutdown felix so that bundle activators are notified
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@689176 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java b/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java
index 0c54c89c40..55d40449fa 100644
--- a/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java
+++ b/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java
@@ -164,7 +164,7 @@ public class FelixOSGiHost implements OSGiHost {
private void shutdown() throws BundleException {
if (felix != null) {
- felix.stop();
+ felix.stopAndWait();
}
Thread.currentThread().setContextClassLoader(tccl);
}