}
}
}
public void run() throws Exception {
FrameworkFactory factory = (FrameworkFactory) Class.forName("org.apache.felix.framework.FrameworkFactory").newInstance();
List activators = new ArrayList();
activators.add(new Activator());
Map frameworkProperties = new HashMap();
frameworkProperties.put("felix.systembundle.activators", activators);
frameworkProperties.put(Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA, "org.osgi.service.deploymentadmin;version=\"1.0\","
+ "org.osgi.service.deploymentadmin.spi;version=\"1.0\","
+ "org.osgi.service.cm;version=\"1.3\","
+ "org.osgi.service.event;version=\"1.2\","
+ "org.osgi.service.log;version=\"1.3\","
+ "org.osgi.service.metatype;version=\"1.1\","
+ "org.apache.ace.log;version=\"0.8.0\"");
frameworkProperties.putAll(m_fwOptionHandler.getProperties());
factory.newFramework(frameworkProperties).start();
}