随笔分类 -  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 阅读全文
posted @ 2011-08-29 11:52 hehai 阅读(511) 评论(0) 推荐(0)