summaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/main/java/com/yahoo/jdisc/application/OsgiFramework.java
diff options
context:
space:
mode:
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/application/OsgiFramework.java')
-rw-r--r--jdisc_core/src/main/java/com/yahoo/jdisc/application/OsgiFramework.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/application/OsgiFramework.java b/jdisc_core/src/main/java/com/yahoo/jdisc/application/OsgiFramework.java
index b1aceb81bc6..f5346a21a4f 100644
--- a/jdisc_core/src/main/java/com/yahoo/jdisc/application/OsgiFramework.java
+++ b/jdisc_core/src/main/java/com/yahoo/jdisc/application/OsgiFramework.java
@@ -5,7 +5,6 @@ import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.framework.BundleException;
-import java.util.Collection;
import java.util.List;
/**
@@ -14,7 +13,6 @@ import java.util.List;
* {@link BundleInstaller} since that provides common convenience methods.
*
* @author Simon Thoresen Hult
- * @author gjoranv
*/
public interface OsgiFramework {
@@ -60,8 +58,6 @@ public interface OsgiFramework {
/**
* Synchronously refresh all bundles currently loaded. Once this method returns, the
* class loaders of all bundles will reflect on the current set of loaded bundles.
- *
- * NOTE: This method is no longer used by the Jdisc container framework, but kept for completeness.
*/
void refreshPackages();
@@ -85,20 +81,6 @@ public interface OsgiFramework {
List<Bundle> bundles();
/**
- * Returns all installed bundles that are visible to the requesting bundle. Bundle visibility
- * is controlled via implementations of {@link org.osgi.framework.hooks.bundle.FindHook};
- */
- List<Bundle> getBundles(Bundle requestingBundle);
-
- /**
- * Allows this framework to install duplicates of the given collection of bundles. Duplicate detection
- * is handled by the {@link com.yahoo.jdisc.core.BundleCollisionHook}.
- *
- * @param bundles The bundles to allow duplicates of
- */
- void allowDuplicateBundles(Collection<Bundle> bundles);
-
- /**
* This method starts the framework instance. Before this method is called, any call to {@link
* #installBundle(String)} or {@link #bundles()} will generate a {@link NullPointerException}.
*