第11章介绍了和OSGi相关的面向组件编程,通过具体实例,分析了一种被称为声明式服务(Declarative Services)的标准OSGi组件框架。随后介绍如何使声明式服务与POJO协同工作,如何通过声明式服务简化动态服务的处理。
基于80个网页-相关网页
声明式服务可以用properties来配置。
声明式服务,现在BND已经支持声明式服务了,同时消除了某些限制。
Declarative services which are now supported by BND has had some of the limitations removed.
其能使用声明式服务分离组件以加入新的组件的功能,已被证明是建立连接的一种比较简单的方法。
Being able to decouple components whilst using Declarative Services to join the components proved a simple way to set up the connections.
应用推荐