All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.osgi.Osgi Maven / Gradle / Ivy

// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.osgi;

import com.yahoo.component.ComponentSpecification;
import org.osgi.framework.Bundle;

import java.util.Collection;
import java.util.List;

/**
 * @author Tony Vaagenes
 * @author gjoranv
 */
public interface Osgi {

    Bundle[] getBundles();

    /** Returns all bundles that have not been scheduled for uninstall. */
    List getCurrentBundles();

    Bundle getBundle(ComponentSpecification bundleId);

    List install(String absolutePath);

    void allowDuplicateBundles(Collection bundles);

    default boolean hasFelixFramework() {
       return false;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy