OSGi 列表,那些标头是什么?

发布于 2024-12-14 00:48:33 字数 193 浏览 0 评论 0原文

我正在使用 Fuse ESB (ServiceMix),并且我一直在进行搜索,希望在运行命令“osgi:list”时找到各种标头的更好解释。即我想理解的两列是“蓝图”和“春天”。我对他们的各种状态指的是什么有我的猜测,但随后出现的其他情况让我对此提出质疑。

如果有人可以提供一些解释,或者更好的是,向我指出一些解释各个列及其潜在值的文档,那将是最有帮助的。

I'm using Fuse ESB (ServiceMix) and I've been searching all over in the hope to find a better explanation of the various headers when running the command 'osgi:list'. Namely the two columns I want to understand are 'Blueprint' and 'Spring'. I have my guesses as to what their various statuses refer to, but then other scenarios come up which make me question this.

If anyone could provide some explanation, or better, point me to some documentation that explains the various columns and their potential values, that will be most helpful.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

私藏温柔 2024-12-21 00:48:33

以下是这些列中可能显示的各种值的含义:

Created - blueprint/spring 容器已创建,并且所有依赖项均已成功解决。

创建 - 捆绑包正在创建过程中

销毁 - 捆绑包的 spring/blueprint 容器被完全销毁(在其取消注册为服务后发生)

失败 - 捆绑包的 spring/blueprint 容器无法启动(由于异常或异常)宽限期到期后缺少依赖项)

宽限期 - 捆绑包有 1 个或多个未满足的依赖项。

等待 - 捆绑包正在等待满足依赖关系的服务的可用性

可以通过阅读 蓝图。 Spring 状态反映了这些定义,尽管我在网上找不到它们的好资源。至于为什么它们只出现在某些捆绑包中:只有当模块包含蓝图或 spring 文件时,它们才会有值。

here are the meanings of the various values that can show up in those columns:

Created - the blueprint/spring container was created and all dependencies were resolved successfully.

Creating - the bundle is in the process of being created

Destroyed - the bundle's spring/blueprint container was completely destroyed (happens after it's unregistered as a service)

Failure - the bundle's spring/blueprint container failed to start (either due to an exception or a missing dependency after the grace period expires)

Grace Period - The bundle has 1 or more unsatisfied dependencies.

Waiting - the bundle is waiting on the availability of a service that satisfies a dependency

Full documentation can be found by reading the descriptions of the constants for Blueprint. the Spring states mirror those definitions, though I can't find a good resource online for them. As for why they show up for only some bundles: they'll only have a value if the module contains either a blueprint or a spring file.

十级心震 2024-12-21 00:48:33

Apache ServiceMix 使用 Gemini Blueprint 和 Spring。

根据 Apache 网站,这些列显示定义的 bean 解析状态Blueprint XML 和 Spring XML 文件(如果它们存在于捆绑包中)。

例如,Created 值表示所有 bean 依赖项均已解析并注入。

Apache ServiceMix is using Gemini Blueprint and Spring.

According to Apache website, those columns displays states of bean resolution defined in Blueprint XML and Spring XML files if they are present in the bundle.

For example Created value means that all bean dependencies have been resolved and injected.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文