blob: fc919571b6cbdc32dfaea9230b54d6196c4150c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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<Bundle> installBundles(FileReference reference, Osgi osgi) throws InterruptedException;
}
|