OSGi Http Whiteboard
此功能部件使您能够部署使用 Servlet 技术和 OSGi HTTP Whiteboard 规范编写的模块化 Web 应用程序。
启用此功能部件
要启用 OSGi HTTP 白板功能部件,请在 server.xml 文件的 featureManager 元素内添加以下元素声明:
<feature>httpWhiteboard-1.0</feature>
开发依赖于此功能部件的功能部件
如果您要开发依赖于 OSGi HTTP 白板功能部件的功能部件,请在新功能部件的功能部件清单文件的 Subsystem-Content 头中添加以下项:
com.ibm.websphere.appserver.httpWhiteboard-1.0; type="osgi.subsystem.feature"
此功能部件提供的标准 API 包
- org.osgi.service.http
- org.osgi.service.http.context
- org.osgi.service.http.whiteboard
功能部件配置元素
可在 server.xml 文件中使用以下元素以配置 OSGi HTTP 白板功能部件: