OSGI
文章平均质量分 63
jsjszg
这个作者很懒,什么都没留下…
展开
-
【OSGI】equinox为什么提供参数osgi.startLevel呢?
osgi.startLevel= //框架的启动级别,缺省为6如果bundle的启动级别大于这个参数,bundle将不启动。为什么提供这样的参数呢?不解!!原创 2012-03-23 22:12:23 · 748 阅读 · 0 评论 -
【OSGI】几个核心bundle的依赖图
转载 2012-03-23 20:59:37 · 850 阅读 · 0 评论 -
Eclipses中的launch文件
在Eclipse中启动程序的launch文件默认存放在:/.metadata/.plugins/.org.eclipse.debug.core/.launches中原创 2012-03-25 14:07:06 · 2509 阅读 · 0 评论 -
【OSGI】从外部启动Equinox
原文:http://marsvaadin.iteye.com/blog/1463149我们一般都是通过Eclipse启动我们的Bundle。但是,在有些时候,我们希望自己来控制OSGi的容器的启动,并且在OSGi的容器外部获取OSGi的服务,甚至是把OSGi的容器内嵌到我们的应用之中。下面我们就来看一下如何把Equinox 嵌入到应用中。由应用来启动Equinox 、获取OSGi的转载 2012-03-26 20:53:41 · 3286 阅读 · 3 评论 -
【OSGI】OSGi概念入门
原文:http://marsvaadin.iteye.com/blog/1463142OSGi概念入门 OSGi概念入门OSGi是什么,OSGi是一种服务运行平台。通过实现能够提供服务的符合OSGi规范的组件,用户可以将其组件发布到OSGi运行平台,供用户和其他组件使用。OSGi组件提供的服务具有两个层面的含义:系统层面,即一个组件为其他组件提供服务,这些服务体转载 2012-03-26 22:00:33 · 1216 阅读 · 0 评论 -
【OSGI】Eclipse中创建Plug-in项目时的Target platform选项说明
新建Plug-in项目时,需要选择Target platform:其中有三种选择:1、Eclipse version2、an OSGi framework: Equinox3、an OSGi framework: standard什么意思呢?Eclipse version 指的是Eclipse UI 插件这样的运行方式.an OSGI fra原创 2012-03-19 21:24:25 · 9000 阅读 · 1 评论 -
【WebService】通过CXF发布WebService第一例
CXF的理论知识就不重复了。发布服务1、在OSGI bundle中发布,所以首先创建OSGI工程,并加入CXF所需要的库文件, MANIFEST.MF文件内容: Manifest-Version: 1.0Bundle-ManifestVersion: 2Bundle-Name: MySimpleWebServiceCXF01Bundle-S原创 2012-04-06 19:43:04 · 6116 阅读 · 2 评论 -
http://kaczanowscy.pl/tomek/2009-01/osgi-code-coverage-with-cobertura
http://kaczanowscy.pl/tomek/2009-01/osgi-code-coverage-with-coberturahttp://sourceforge.net/mailarchive/forum.php?thread_name=4D1BB1E6.2000708%40redprairie.com&forum_name=cobertura-develhttp://a转载 2012-09-12 21:26:06 · 196 阅读 · 0 评论 -
Cobertura统计Equinox的bundles的覆盖率
Cobertura通过junit统计一般Java工程的代码覆盖率,网上都有介绍,这里主要介绍Cobertura怎么统计OSGI的bundle运行的代码覆盖率OSGI启动有多种方式:1、在Eclipse通过launch启动2、通过命令行启动:java -jar org.eclipse.osgi_3.7.2.v20120110-1415.jar3、通过eclipse.exe启动。启原创 2012-09-13 07:35:49 · 882 阅读 · 0 评论 -
【OSGI】第一个OSGI的Web程序有点坎坷
按照参考资料一步一步做,建立起一个Web的bundle。参考资料:http://developer.51cto.com/art/200910/157125.htm补充说明:必须加入几个bundle才能建立Web服务器id State Bundle0 ACTIVE org.eclipse.osgi_3.6.2.R36x_v2011021原创 2012-03-22 23:06:48 · 2969 阅读 · 1 评论 -
错误:Plug-ins declaring extensions or extension points must set the singleton directive to true
将Equinox工程增加plugin.xml扩展点后MANIFEST.MF报错:Description ResourcePath LocationTypePlug-ins declaring extensions or extension points must set the singleton directive to trueMANIFEST.MF /MyWebServi原创 2012-11-12 22:12:16 · 3324 阅读 · 2 评论 -
http://www.cnblogs.com/bronte/articles/2269786.html
http://www.cnblogs.com/bronte/articles/2269786.htmlhttp://cyfgod.iteye.com/blog/286893http://flym.iteye.com/blog/687216http://blog.csdn.net/tomholmes7/article/details/5845729http://hzyly转载 2012-11-15 13:45:51 · 806 阅读 · 0 评论