Package com.yahoo.container.di
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 void
installPlatformBundles(java.util.Collection<java.lang.String> bundlePaths)
default java.lang.Class<?>
resolveClass(BundleInstantiationSpecification spec)
default java.util.Set<org.osgi.framework.Bundle>
useApplicationBundles(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)
-
installPlatformBundles
default void installPlatformBundles(java.util.Collection<java.lang.String> bundlePaths)
-
useApplicationBundles
default java.util.Set<org.osgi.framework.Bundle> useApplicationBundles(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(BundleInstantiationSpecification spec)
-
getBundle
default org.osgi.framework.Bundle getBundle(com.yahoo.component.ComponentSpecification spec)
-
-