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
*/
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