RPM packaging of OSGi boot
[lgpl/argeo-commons.git] / osgi / runtime / org.argeo.osgi.boot / src / main / java / org / argeo / osgi / boot / Activator.java
index 9eecf6cbd3fccc4d80dbb4282b68febbd72349e4..1d09d57a00141f6df863b122ed865ceeac3c8083 100644 (file)
@@ -26,7 +26,12 @@ import org.osgi.framework.BundleContext;
  */
 public class Activator implements BundleActivator {
 
-       public void start(BundleContext bundleContext) throws Exception {
+       public void start(final BundleContext bundleContext) throws Exception {
+               // admin thread
+               Thread adminThread = new AdminThread(bundleContext);
+               adminThread.start();
+
+               // bootstrap
                OsgiBoot osgiBoot = new OsgiBoot(bundleContext);
                osgiBoot.bootstrap();
        }