Osgi 扩展包未注册blueprint服务

Osgi 扩展包未注册blueprint服务,osgi,equinox,blueprint-osgi,Osgi,Equinox,Blueprint Osgi,我有一个独立的quinox容器正在运行,我已经安装并启动了以下捆绑包: 我可以在控制台中看到这些日志消息: *org.ops4j.pax.logging.pax日志api[org.apache.aries.blueprint.container.BlueprintExtender]:启动BlueprintExtender… org.ops4j.pax.logging.pax日志api[org.apache.aries.blueprint.container.BlueprintEventDisp

我有一个独立的quinox容器正在运行,我已经安装并启动了以下捆绑包:

我可以在控制台中看到这些日志消息:

*org.ops4j.pax.logging.pax日志api[org.apache.aries.blueprint.container.BlueprintExtender]:启动BlueprintExtender…

org.ops4j.pax.logging.pax日志api[org.apache.aries.blueprint.container.BlueprintEventDispatcher]:EventAdmin包不可用, 不要用它

org.ops4j.pax.logging.pax logging api[org.apache.aries.blueprint.container.BlueprintExtender]:不提供静止支持,因此blueprint组件将不参与静止操作

org.ops4j.pax.logging.pax日志api[org.apache.aries.blueprint.container.BlueprintExtender]:BlueprintExtender已启动

blueprint-service-api_1.0.0.1捆绑包有我的服务接口。 com.test.osgi.blueprint-service-impl_1.0.0.1 bundle有我的服务 实施

my com.test.osgi.blueprint-service-impl_1.0.0.1捆绑包的META-INF头是:

捆绑头: Bnd LastModified=1460382580049 构建Jdk=1.8.0_74 建造人=schinnadurai Bundle Activator=com.test.osgi.blueprint.service.impl.BluePrintServiceImplBundleActivator Bundle Blueprint=OSGI-INF/Blueprint.xml 捆绑包版本=2
Bundle Name=blueprint服务impl
Bundle SymbolicName=com.test.osgi.blueprint服务impl
捆绑版本=1.0.0.1
创建人=Apache Maven Bundle插件 嵌入依赖项=*;范围=编译|运行时 嵌入传递性=真
导出服务=com.test.osgi.blueprint.Service.api.GreetingService
导入包=org.osgi.framework;version=“[1.5,2]”,com.test.osgi.blueprint.service.api;version=“[1.0,2]”
清单版本=1.0
工具=Bnd-2.1.0.20130426-122213

此service impl捆绑包中的blueprint.xml文件是:



您将Blupprint、xml放在捆绑包中的何处?Blueprint中是否有任何与捆绑包相关的日志记录?我的Blueprint.xml文件位于OSGI-INF中,如下所示:Blueprint-service-impl-1.0.0.1.jar/>com/>META-INF/>OSGI-INF/Blueprint.xml我看不到Blueprint r中的任何日志记录与我的捆绑包相关。我只能看到我的BundleActivator日志消息。我在WAS Liberty中测试了我的捆绑包,并且我的所有blueprint服务都已成功注册和引用。因此,在这个独立的equinox设置中,我似乎缺少blueprint服务所需的一些捆绑包。