org.eclipse.osgi.service.resolver.State.getResolvedBundles()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(122)

本文整理了Java中org.eclipse.osgi.service.resolver.State.getResolvedBundles()方法的一些代码示例,展示了State.getResolvedBundles()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。State.getResolvedBundles()方法的具体详情如下:
包路径:org.eclipse.osgi.service.resolver.State
类名称:State
方法名:getResolvedBundles

State.getResolvedBundles介绍

[英]Returns descriptions for all bundles currently resolved in this state.
[中]返回当前在此状态下解析的所有捆绑包的说明。

代码示例

代码示例来源:origin: org.eclipse/org.eclipse.osgi

public BundleDescription[] getResolvedBundles() {
  return target.getResolvedBundles();
}

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.osgi

public BundleDescription[] getResolvedBundles() {
  return target.getResolvedBundles();
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi.compatibility.state

public BundleDescription[] getResolvedBundles() {
  return platformAdmin.getSystemState().getResolvedBundles();
}

代码示例来源:origin: com.github.veithen.cosmos.bootstrap/org.eclipse.osgi.compatibility.state

public BundleDescription[] getResolvedBundles() {
  return platformAdmin.getSystemState().getResolvedBundles();
}

代码示例来源:origin: org.eclipse/org.eclipse.pde.core

public boolean hasErrors() {
  return fState.getHighestBundleId() > -1 
      && fState.getBundles().length > fState.getResolvedBundles().length;
}

代码示例来源:origin: org.eclipse/org.eclipse.osgi

public void frameworkStopping(BundleContext context) {
  if (!Debug.DEBUG_ENABLED)
    return;
  BundleDescription[] allBundles = adaptor.getState().getResolvedBundles();
  StateHelper stateHelper = adaptor.getPlatformAdmin().getStateHelper();
  Object[][] cycles = stateHelper.sortBundles(allBundles);
  logCycles(cycles);
}

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.osgi

public void frameworkStopping(BundleContext context) {
  if (!Debug.DEBUG_ENABLED)
    return;
  BundleDescription[] allBundles = adaptor.getState().getResolvedBundles();
  StateHelper stateHelper = adaptor.getPlatformAdmin().getStateHelper();
  Object[][] cycles = stateHelper.sortBundles(allBundles);
  logCycles(cycles);
}

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.osgi

ResolverBundle[] currentlyResolved = null;
if (resolveOptional) {
  BundleDescription[] resolvedBundles = state.getResolvedBundles();
  currentlyResolved = new ResolverBundle[resolvedBundles.length];
  for (int i = 0; i < resolvedBundles.length; i++)

代码示例来源:origin: com.github.veithen.cosmos.bootstrap/org.eclipse.osgi.compatibility.state

ResolverBundle[] currentlyResolved = null;
if (resolveOptional) {
  BundleDescription[] resolvedBundles = state.getResolvedBundles();
  currentlyResolved = new ResolverBundle[resolvedBundles.length];
  for (int i = 0; i < resolvedBundles.length; i++)

代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi.compatibility.state

ResolverBundle[] currentlyResolved = null;
if (resolveOptional) {
  BundleDescription[] resolvedBundles = state.getResolvedBundles();
  currentlyResolved = new ResolverBundle[resolvedBundles.length];
  for (int i = 0; i < resolvedBundles.length; i++)

代码示例来源:origin: org.eclipse/org.eclipse.osgi

ResolverBundle[] currentlyResolved = null;
if (resolveOptional) {
  BundleDescription[] resolvedBundles = state.getResolvedBundles();
  currentlyResolved = new ResolverBundle[resolvedBundles.length];
  for (int i = 0; i < resolvedBundles.length; i++)

相关文章