aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/di/osgi/BundleClasses.java
blob: bca3ed73d0bfc3b12bad1d14ca91d6b78581ca5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.di.osgi;

import org.osgi.framework.Bundle;

import java.util.Collection;

/**
 * @author ollivir
 */
public class BundleClasses {
    private final Bundle bundle;
    private final Collection<String> classEntries;

    public BundleClasses(Bundle bundle, Collection<String> classEntries) {
        this.bundle = bundle;
        this.classEntries = classEntries;
    }

    public Bundle bundle() {
        return bundle;
    }

    public Collection<String> classEntries() {
        return classEntries;
    }
}