X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=osgi%2Fruntime%2Forg.argeo.osgi.boot%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fosgi%2Fboot%2FActivator.java;h=76ff70e9a8892b1ee2989a3a15b865125cfcd07f;hb=c3f8e165014d2ef6ecec57c44a59e816791db01d;hp=9eecf6cbd3fccc4d80dbb4282b68febbd72349e4;hpb=1b452a434924d7628c7b2eace3c5df8e62cdea1c;p=lgpl%2Fargeo-commons.git diff --git a/osgi/runtime/org.argeo.osgi.boot/src/main/java/org/argeo/osgi/boot/Activator.java b/osgi/runtime/org.argeo.osgi.boot/src/main/java/org/argeo/osgi/boot/Activator.java index 9eecf6cbd..76ff70e9a 100644 --- a/osgi/runtime/org.argeo.osgi.boot/src/main/java/org/argeo/osgi/boot/Activator.java +++ b/osgi/runtime/org.argeo.osgi.boot/src/main/java/org/argeo/osgi/boot/Activator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * Copyright (C) 2007-2012 Mathieu Baudier * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.argeo.osgi.boot; import org.osgi.framework.BundleActivator; @@ -26,7 +25,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(); }