OSGi配置管理服务的现有实现? [英] Existing implementations of OSGi Configuration Admin Service?

查看:146
本文介绍了OSGi配置管理服务的现有实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在考虑将Configuration Admin Service用作在基于OSGi的应用程序中配置组件的主要API。这将是很好,如果我们可以重用一些现有的实现,所以我试图调查和评估最流行的。我知道有:

We are considering to use Configuration Admin Service as a primary API for configuring components in our OSGi-based application. It would be nice if we could reuse some existing implementation so I'm trying to investigate and evaluate the most popular ones. I know there is:

  • Apache Felix Config Admin (org.apache.felix.cm)
  • Equinox Config Admin (org.eclipse.equinox.cm)

有没有其他实现要考虑?

Are there any other implementations to be considered?

此外,我没有找到任何良好的文档这些实现。我将主要关注具体实现的细节。例如,我想知道不同的实现如何保持配置数据(例如多个属性文件?XML文件?多个XML文件?数据库?...)。

Also I was not able to find any good documentation for these implementations. I would be mainly interested in the implementation-specific details. For example I was wondering how different implementations persist the configuration data (e.g. multiple property files? XML file? multiple XML files? database?, ...).

推荐答案

我知道的三个公共实现是

The three public implementations I know of are

  • Apache Felix
  • Equinox …source (this has moved recently)
  • Knopflerfish …front page and …source

Equinox的 ConfigurationAdmin 服务的实现似乎不支持精细控制如Felix的做法,和Knopflerfish实现看起来(我只是简单地阅读源代码)类似于Equinox的。

Equinox's implementation of the ConfigurationAdmin service appears not to support fine control over the persistence policy, as Felix's does, and the Knopflerfish implementation looks (I've only read the source briefly) similar to Equinox's.

Felix一个似乎是最近更新和最可靠的。

The Felix one appears to be the most recently updated and the most reliable.

目前这些是我能找到的唯一;在dm服务器,我们决定使用Felix的包,现在可以从 SpringSource企业捆绑软件库,您可以在其中快速搜索 Apache Felix ConfigAdmin

At present these are the only ones I can find; at dm Server we made the decision to use Felix's bundle, and this is now obtainable from the SpringSource Enterprise Bundle Repository, where you can quick-search for Apache Felix or ConfigAdmin.

这篇关于OSGi配置管理服务的现有实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆