]> git.argeo.org Git - gpl/argeo-slc.git/blob - Activator.java
80ec7b7f218e306c121f74832770229abc8c5d10
[gpl/argeo-slc.git] / 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 }