You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2008/08/26 21:30:09 UTC
svn commit: r689176 -
/tuscany/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java
Author: rfeng
Date: Tue Aug 26 12:30:09 2008
New Revision: 689176
URL: http://svn.apache.org/viewvc?rev=689176&view=rev
Log:
gracefully shutdown felix so that bundle activators are notified
Modified:
tuscany/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java
Modified: tuscany/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java?rev=689176&r1=689175&r2=689176&view=diff
==============================================================================
--- tuscany/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java (original)
+++ tuscany/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/FelixOSGiHost.java Tue Aug 26 12:30:09 2008
@@ -164,7 +164,7 @@
private void shutdown() throws BundleException {
if (felix != null) {
- felix.stop();
+ felix.stopAndWait();
}
Thread.currentThread().setContextClassLoader(tccl);
}