OSGi Blueprint

這個特性會啟用對於使用 OSGi 藍圖儲存器規格之 OSGi 應用程式的部署支援。WebSphere Application Server 具備「OSGi 應用程式」支援之後,您就可以開發及部署使用 Java EE 和 OSGi 技術的模組化應用程式。

啟用這項特性

如果要啟用 OSGi 藍圖特性,請在 server.xml 檔的 featureManager 元素內,新增下列的元素宣告:
<feature>blueprint-1.0</feature>

支援的 Java™ 版本

  • JavaSE-1.6
  • JavaSE-1.7
  • JavaSE-1.8

開發相依於這項特性的特性

如果您要開發的特性相依於 OSGi 藍圖特性,請將下列項目包含在您新特性的特性資訊清單檔 Subsystem-Content 標頭中:
com.ibm.websphere.appserver.blueprint-1.0; type="osgi.subsystem.feature"

這項特性提供的標準 API 套件

  • org.apache.aries.blueprint
  • org.apache.aries.blueprint.ext
  • org.apache.aries.blueprint.ext.evaluator
  • org.apache.aries.blueprint.mutable
  • org.apache.aries.blueprint.services
  • org.apache.aries.blueprint.utils
  • org.apache.aries.util
  • org.osgi.framework
  • org.osgi.framework.hooks.bundle
  • org.osgi.framework.hooks.resolver
  • org.osgi.framework.hooks.service
  • org.osgi.framework.hooks.weaving
  • org.osgi.framework.launch
  • org.osgi.framework.namespace
  • org.osgi.framework.startlevel
  • org.osgi.framework.wiring
  • org.osgi.resource
  • org.osgi.service.blueprint
  • org.osgi.service.blueprint.container
  • org.osgi.service.blueprint.reflect
  • org.osgi.service.component
  • org.osgi.service.condpermadmin
  • org.osgi.service.jndi
  • org.osgi.service.packageadmin
  • org.osgi.service.startlevel
  • org.osgi.service.url
  • org.osgi.util.tracker

這項特性提供的協力廠商 API 套件

  • org.apache.aries.transaction.exception

這項特性提供的 SPI 套件

  • org.apache.aries.blueprint
  • org.apache.aries.blueprint.ext
  • org.apache.aries.blueprint.ext.evaluator
  • org.apache.aries.blueprint.mutable
  • org.apache.aries.blueprint.services
  • org.apache.aries.util
  • org.osgi.service.cm
  • org.osgi.service.subsystem

特性配置元素

您可以在 server.xml 檔中使用下列元素,來配置 OSGi 藍圖特性:


指示主題類型的圖示 參照主題



「時間戳記」圖示 前次更新: 2016 年 11 月 30 日
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwlp_feature_blueprint-1.0
檔名:rwlp_feature_blueprint-1.0.html