本文介绍了Felix如何从更新的捆绑软件中获取所有依赖捆绑软件的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从更新的包中获取所有相关包的列表?例如,某些应用程序加载相同捆绑软件的情况.有一次我将更新一个捆绑包.如何获得所有依赖于更新包的包?为了重新启动所有依赖于已更新包的包,这是必需的,以便他们可以看到已更新包的新对象.对不起,我的英语不好.最好的问候,亚瑟.

How to get list of all dependent bundles from the updated bundle?For example, situation when some application loaded same bundles.In one time I will update one bundle.How can I get all bundles which depend on the updated bundle?This is necessary in order to restart all bundles which depend on the updated bundle, so they can see a new object of the updated bundle.Sorry my bad English.Best regards, Arthur.

推荐答案

使用 FrameworkWiring.getDependencyClosure 方法.

这篇关于Felix如何从更新的捆绑软件中获取所有依赖捆绑软件的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 12:39