summaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/osgi/Osgi.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-core/src/main/java/com/yahoo/osgi/Osgi.java')
-rw-r--r--container-core/src/main/java/com/yahoo/osgi/Osgi.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/container-core/src/main/java/com/yahoo/osgi/Osgi.java b/container-core/src/main/java/com/yahoo/osgi/Osgi.java
index 8f0acf41f30..c94eaf43deb 100644
--- a/container-core/src/main/java/com/yahoo/osgi/Osgi.java
+++ b/container-core/src/main/java/com/yahoo/osgi/Osgi.java
@@ -4,7 +4,6 @@ package com.yahoo.osgi;
import com.yahoo.component.ComponentSpecification;
import org.osgi.framework.Bundle;
-import java.util.Collection;
import java.util.List;
/**
@@ -12,17 +11,14 @@ import java.util.List;
*/
public interface Osgi {
- List<Bundle> getInitialBundles();
-
Bundle[] getBundles();
- /** Returns all bundles that have not been scheduled for uninstall. */
- List<Bundle> getCurrentBundles();
-
Bundle getBundle(ComponentSpecification bundleId);
List<Bundle> install(String absolutePath);
- void allowDuplicateBundles(Collection<Bundle> bundles);
+ void uninstall(Bundle bundle);
+
+ void refreshPackages();
}