Interface Osgi

  • All Known Subinterfaces:
    OsgiWrapper
    All Known Implementing Classes:
    MockOsgiWrapper

    public interface Osgi
    This interface has default implementations of all methods, to allow using it for testing, instead of mocking or a test implementation.
    Author:
    gjoranv, Tony Vaagenes, ollivir
    • Method Detail

      • installPlatformBundles

        default void installPlatformBundles​(Collection<String> bundlePaths)
      • useApplicationBundles

        default Set<org.osgi.framework.Bundle> useApplicationBundles​(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)