摘要: Bundle的源代码如下,需要导入felix.jar或者将其配置在CLASSPATH才能编译通过。/* * Apache Felix OSGi tutorial.**/package tutorial.example1;import org.osgi.framework.BundleActivator;import org.osgi.framework.BundleContext;import org.osgi.framework.ServiceListener;import org.osgi.framework.ServiceEvent;/** * This class implements 阅读全文