Package com.yahoo.container.di
Interface Osgi
-
- All Known Subinterfaces:
OsgiWrapper
- All Known Implementing Classes:
MockOsgiWrapper
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 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
-
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)
-
-