]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.osgiboot/src/main/java/org/argeo/slc/osgiboot/Activator.java
Improve OSGI Boot logging
[gpl/argeo-slc.git] / runtime / org.argeo.slc.osgiboot / src / main / java / org / argeo / slc / osgiboot / Activator.java
1 package org.argeo.slc.osgiboot;
2
3 import org.osgi.framework.BundleActivator;
4 import org.osgi.framework.BundleContext;
5
6 /**
7 * An OSGi configurator. See <a
8 * href="http://wiki.eclipse.org/Configurator">http:
9 * //wiki.eclipse.org/Configurator</a>
10 */
11 public class Activator implements BundleActivator {
12
13 public void start(BundleContext bundleContext) throws Exception {
14 OsgiBoot osgiBoot = new OsgiBoot(bundleContext);
15 osgiBoot.bootstrap();
16 // try {
17 // OsgiBoot.info("SLC OSGi bootstrap starting...");
18 // osgiBoot.installUrls(osgiBoot.getBundlesUrls());
19 // osgiBoot.installUrls(osgiBoot.getLocationsUrls());
20 // osgiBoot.installUrls(osgiBoot.getModulesUrls());
21 // osgiBoot.startBundles();
22 // OsgiBoot.info("SLC OSGi bootstrap completed");
23 // } catch (Exception e) {
24 // e.printStackTrace();
25 // throw e;
26 // }
27 }
28
29 public void stop(BundleContext context) throws Exception {
30 }
31 }