Codota Logo
FrameworkWiring.getDependencyClosure
Code IndexAdd Codota to your IDE (free)

How to use
getDependencyClosure
method
in
org.osgi.framework.wiring.FrameworkWiring

Best Java code snippets using org.osgi.framework.wiring.FrameworkWiring.getDependencyClosure (Showing top 9 results out of 315)

  • Common ways to obtain FrameworkWiring
private void myMethod () {
FrameworkWiring f =
  • Codota IconBundleContext bundleContext;bundleContext.getBundle().adapt(FrameworkWiring.class)
  • Codota IconBundle bundle;bundle.adapt(FrameworkWiring.class)
  • Smart code suggestions by Codota
}
origin: org.apache.sling/org.apache.sling.installer.core

/**
 * @see org.apache.sling.installer.core.impl.util.BundleRefresher#isInstallerBundleAffected(java.util.List)
 */
public boolean isInstallerBundleAffected(final List<Bundle> bundles) {
  final long installerId = this.bundleContext.getBundle().getBundleId();
  final Collection<Bundle> dependencyClosure = this.frameworkWiring.getDependencyClosure(bundles);
  for(final Bundle b : dependencyClosure) {
    if ( b.getBundleId() == installerId ) {
      return true;
    }
  }
  return false;
}
origin: org.eclipse.tycho/org.eclipse.osgi

public Collection<Bundle> getDependencyClosure(Collection<Bundle> bundles) {
  return container.getFrameworkWiring().getDependencyClosure(bundles);
}
origin: com.github.veithen.cosmos/cosmos-equinox

public Collection<Bundle> getDependencyClosure(Collection<Bundle> bundles) {
  return container.getFrameworkWiring().getDependencyClosure(bundles);
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.osgi

public Collection<Bundle> getDependencyClosure(Collection<Bundle> bundles) {
  return container.getFrameworkWiring().getDependencyClosure(bundles);
}
origin: org.eclipse/osgi

public Collection<Bundle> getDependencyClosure(Collection<Bundle> bundles) {
  return container.getFrameworkWiring().getDependencyClosure(bundles);
}
origin: org.eclipse.platform/org.eclipse.osgi

public Collection<Bundle> getDependencyClosure(Collection<Bundle> bundles) {
  return container.getFrameworkWiring().getDependencyClosure(bundles);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.osgi

public Collection<Bundle> getDependencyClosure(Collection<Bundle> bundles) {
  return container.getFrameworkWiring().getDependencyClosure(bundles);
}
origin: com.ibm.jaggr/jaggr-service

Collection<Bundle> bundles = fw.getDependencyClosure(Arrays.asList(new Bundle[]{candidate}));
for (Bundle bundle : bundles) {
  if (bundle.equals(contributingBundle)) {
origin: org.everit.osgi.dev/org.everit.osgi.dev.richconsole

Collection<Bundle> bundlesToStart = frameworkWiring.getDependencyClosure(installedBundlesWithStartFlag);
org.osgi.framework.wiringFrameworkWiringgetDependencyClosure

Javadoc

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 UNINSTALLED bundles that are #getRemovalPendingBundles().

Popular methods of FrameworkWiring

  • refreshBundles
    Refreshes the specified bundles. This forces the update (replacement) or removal of packages exporte
  • resolveBundles
    Resolves the specified bundles. The Framework must attempt to resolve the specified bundles that are
  • findProviders
    Find bundle capabilities that match the given requirement. The returned collection contains BundleCa
  • getRemovalPendingBundles
    Returns the bundles that have BundleWiring#isCurrent(), BundleWiring#isInUse() bundle wirings. This

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Join (org.hibernate.mapping)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now