1 package org
.argeo
.slc
.osgiboot
;
3 import org
.osgi
.framework
.BundleActivator
;
4 import org
.osgi
.framework
.BundleContext
;
6 public class Activator
implements BundleActivator
{
8 public void start(BundleContext bundleContext
) throws Exception
{
10 OsgiBoot
.info("SLC OSGi bootstrap starting...");
11 OsgiBoot osgiBoot
= new OsgiBoot(bundleContext
);
12 osgiBoot
.installUrls(osgiBoot
.getBundlesUrls());
13 osgiBoot
.installUrls(osgiBoot
.getLocationsUrls());
14 osgiBoot
.installUrls(osgiBoot
.getModulesUrls());
15 osgiBoot
.startBundles();
16 OsgiBoot
.info("SLC OSGi bootstrap completed");
17 } catch (Exception e
) {
23 public void stop(BundleContext context
) throws Exception
{