
osgi
yangjun2
其实天很蓝,阴云总要散;其实海不宽,此岸连彼岸;其实梦很浅,万物皆自然;其实泪也甜,当你心如愿;其实我要你,快乐每一天。
展开
-
CXF-DOSGI学习笔记(一)-web service暴露
一.cxf-dosgi暴露服务和在zookeeper上注册的过程说明: 1.有2个地方可以调用TopologyManager protected void exportService(ServiceReference sref) : a.TopologyManager原创 2011-10-17 17:33:56 · 2855 阅读 · 0 评论 -
CXF-DOSGI学习笔记(二)-OSGI Declare Service注入的实现
一、服务注入(有4种场景)场景1:Service changed,针对RemoteServiceAdmin class的 1.RemoteServiceAdminList. stRemoteServiceAdmin = new ServiceTrack原创 2011-10-18 11:49:26 · 3394 阅读 · 0 评论 -
Osgi中碰到ArrayStoreException问题
在Gemini-blueprint中做proxy interface时,出现了这个错误。先看JavaDoc的提示:Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects. For example, the following c原创 2011-10-20 09:32:12 · 1192 阅读 · 0 评论 -
Osgi import package 版本要注意的小问题
Osgi import package version,指定时需要特别注意的小问题:BundleB:export-package: org.yj;version="2.0.0"BundleA:import-package: org.yj;version="1.0.0",这样写,意味着只要Bundle B的 org.yj的版本不小于1.0.0都是可以reslove成功原创 2011-10-22 10:58:09 · 4521 阅读 · 0 评论 -
cxf-dosgi模块功能说明
cxf-dosgi modules:discovery:--distributed: --cxf-discovery :创建连接zookeeper server的zookeeper client,创建或删除endpoint listener --zookeeper-server :zookeeper server端的创建 ,暂时没有用处 --zookee原创 2011-10-27 17:45:31 · 2188 阅读 · 1 评论 -
web container与osgi container集成方案实践
一、目的: 目前Osgi Web开发仅有HttpService,Virgo的可以将WAR应用转换成Bundle,对我而言有些“重”,为了力求简洁,自行尝试使用Web Container来集成Osgi Container,便于定制客户化的管理功能,监控功能。二、环境准备:框架:spring3.1 RC1osgi 3.6.2gemini-blueprint 1原创 2011-10-27 14:47:58 · 4787 阅读 · 0 评论 -
gemini-blueprint 学习笔记
gemini-blueprint-1.0.0 的bugorg.eclipse.gemini.blueprint.io.OsgiBundleResourcePatternResolver在构造函数空指针的异常,情景模拟参考另一篇博文http://blog.youkuaiyun.com/yangjun2/article/details/6805014 Spring Base Test类中的logger属性原创 2011-10-08 20:41:44 · 4198 阅读 · 0 评论