此特性可支援部署 OSGi 應用程式。WebSphere Application Server 具備「OSGi 應用程式」支援之後,您就可以開發及部署使用 Java EE 和 OSGi 技術的模組應用程式。
如果要啟用 OSGi Bundle 特性,請在您 server.xml 檔中的 featureManager 元素內,新增下列元素宣告:
<feature>osgiBundle-1.0</feature>
如果您正在開發的特性相依於 OSGi Bundle 特性,請在您新特性的特性資訊清單檔中,將下列項目包含在 Subsystem-Content 標頭內:
com.ibm.websphere.appserver.osgiBundle-1.0; type="osgi.subsystem.feature"