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

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

There is a newer version: 8.458.13
Show newest version
// 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
 */
public interface Osgi {

    List getInitialBundles();

    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);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy