Interface Osgi


  • public interface Osgi
    Author:
    gjoranv, Tony Vaagenes, ollivir
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default org.osgi.framework.Bundle getBundle​(com.yahoo.component.ComponentSpecification spec)  
      default BundleClasses getBundleClasses​(com.yahoo.component.ComponentSpecification bundle, java.util.Set<java.lang.String> packagesToScan)  
      default java.lang.Class<?> resolveClass​(BundleInstantiationSpecification spec)  
      default java.util.Set<org.osgi.framework.Bundle> useBundles​(java.util.Collection<com.yahoo.config.FileReference> bundles)
      Returns the set of bundles that is not used by the current application generation, and therefore should be scheduled for uninstalling.
    • Method Detail

      • getBundleClasses

        default BundleClasses getBundleClasses​(com.yahoo.component.ComponentSpecification bundle,
                                               java.util.Set<java.lang.String> packagesToScan)
      • useBundles

        default java.util.Set<org.osgi.framework.Bundle> useBundles​(java.util.Collection<com.yahoo.config.FileReference> bundles)
        Returns the set of bundles that is not used by the current application generation, and therefore should be scheduled for uninstalling.
      • getBundle

        default org.osgi.framework.Bundle getBundle​(com.yahoo.component.ComponentSpecification spec)