本文整理了Java中org.eclipse.osgi.service.resolver.State.getDependencyClosure()
方法的一些代码示例,展示了State.getDependencyClosure()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。State.getDependencyClosure()
方法的具体详情如下:
包路径:org.eclipse.osgi.service.resolver.State
类名称:State
方法名:getDependencyClosure
[英]Returns the dependency closure for the specified bundles.
A graph of bundles is computed starting with the specified bundles. The graph is expanded by adding any bundle that is either wired to a package that is currently exported by a bundle in the graph or requires a bundle in the graph. The graph is fully constructed when there is no bundle outside the graph that is wired to a bundle in the graph. The graph may contain removal pending bundles.
[中]返回指定绑定的依赖项闭包。
从指定的束开始计算束图。通过添加连接到当前由图中的包导出的包或需要图中的包的任何包来扩展图。当图外部没有绑定到图中的束的束时,图就完全构造好了。该图可能包含删除挂起的捆绑包。
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.osgi
public Collection<BundleDescription> getDependencyClosure(Collection<BundleDescription> bundles) {
return target.getDependencyClosure(bundles);
}
代码示例来源:origin: org.eclipse/org.eclipse.osgi
public Collection<BundleDescription> getDependencyClosure(Collection<BundleDescription> bundles) {
return target.getDependencyClosure(bundles);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi.compatibility.state
public Collection<BundleDescription> getDependencyClosure(Collection<BundleDescription> bundles) {
return platformAdmin.getSystemState().getDependencyClosure(bundles);
}
代码示例来源:origin: com.github.veithen.cosmos.bootstrap/org.eclipse.osgi.compatibility.state
public Collection<BundleDescription> getDependencyClosure(Collection<BundleDescription> bundles) {
return platformAdmin.getSystemState().getDependencyClosure(bundles);
}
代码示例来源:origin: org.eclipse/org.eclipse.osgi
private Collection<BundleDescription> getDescriptionClosure(Collection<Bundle> bundles) {
State state = framework.adaptor.getState();
Collection<BundleDescription> descriptions = new ArrayList<BundleDescription>();
for (Bundle bundle : bundles) {
BundleDescription description = state.getBundle(bundle.getBundleId());
if (description != null)
descriptions.add(description);
}
return state.getDependencyClosure(descriptions);
}
代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.osgi
private Collection<BundleDescription> getDescriptionClosure(Collection<Bundle> bundles) {
State state = framework.adaptor.getState();
Collection<BundleDescription> descriptions = new ArrayList<BundleDescription>();
for (Bundle bundle : bundles) {
BundleDescription description = state.getBundle(bundle.getBundleId());
if (description != null)
descriptions.add(description);
}
return state.getDependencyClosure(descriptions);
}
内容来源于网络,如有侵权,请联系作者删除!