// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.core.config; import com.yahoo.config.FileReference; import com.yahoo.osgi.Osgi; import org.osgi.framework.Bundle; import java.util.List; /** * @author gjoranv */ public interface BundleInstaller { /** * Installs the bundle with the given file reference, plus all bundles in its X-JDisc-Preinstall-Bundle directive. * Returns all bundles installed to the given OSGi framework as a result of this call. */ List installBundles(FileReference reference, Osgi osgi) throws InterruptedException; }