summaryrefslogtreecommitdiffstats
path: root/container-core/src/test/java/com/yahoo/container/core/config/TestBundleInstaller.java
blob: 43a5268eabfc2946b89fa03f9df63748d707a40c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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
 */
class TestBundleInstaller implements BundleInstaller {

    @Override
    public List<Bundle> installBundles(FileReference reference, Osgi osgi) {
        return osgi.install(reference.value());
    }

}