OSGi线程模型 [英] OSGi Threading Model

查看:83
本文介绍了OSGi线程模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索了Internet,但没有找到满意的答案. OSGi容器中存在什么线程模型?它是否只是为每个注册的捆绑软件产生了一个新线程?任何有关线程模型的参考都很好.

I have searched the Internet but failed to find a satisfactory answer. What is the threading model present in an OSGi container? Does it simply spawn a new thread to each registered bundle e.g.? Any reference regarding the threading model would be great.

推荐答案

您没有发现任何东西,因为没有诸如"OSGi线程模型"之类的东西.捆绑包只是存在而不会拥有线程",除非它们启动了它们.

You have not found anything because there is no such thing as an "OSGi threading model". Bundles simply exist and don't "have threads" unless they start them.

这篇关于OSGi线程模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆