随笔分类 - OSGI
Apache Felix Tutorial Example 1 - Service Event Listener Bundle
摘要: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
阅读全文
浙公网安备 33010602011771号