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 com.yahoo.container.di.osgi.BundleClasses getBundleClasses​(com.yahoo.component.ComponentSpecification bundle, java.util.Set<java.lang.String> packagesToScan)  
      default java.lang.Class<?> resolveClass​(com.yahoo.container.bundle.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 com.yahoo.container.di.osgi.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.
      • resolveClass

        default java.lang.Class<?> resolveClass​(com.yahoo.container.bundle.BundleInstantiationSpecification spec)
      • getBundle

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