Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/AbstractBundle.java')
-rw-r--r--bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/AbstractBundle.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/AbstractBundle.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/AbstractBundle.java
index 9eadfb6cd..debc84769 100644
--- a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/AbstractBundle.java
+++ b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/AbstractBundle.java
@@ -19,6 +19,7 @@ import java.util.*;
import org.eclipse.osgi.framework.adaptor.*;
import org.eclipse.osgi.framework.debug.Debug;
import org.eclipse.osgi.framework.util.KeyedElement;
+import org.eclipse.osgi.internal.loader.BundleLoader;
import org.eclipse.osgi.internal.permadmin.EquinoxProtectionDomain;
import org.eclipse.osgi.internal.permadmin.EquinoxSecurityManager;
import org.eclipse.osgi.service.resolver.BundleDescription;
@@ -175,6 +176,10 @@ public abstract class AbstractBundle implements Bundle, Comparable, KeyedElement
return (state);
}
+ public Framework getFramework() {
+ return framework;
+ }
+
/**
* Return true if the bundle is starting or active.
*
@@ -187,7 +192,7 @@ public abstract class AbstractBundle implements Bundle, Comparable, KeyedElement
* Return true if the bundle is resolved.
*
*/
- protected boolean isResolved() {
+ public boolean isResolved() {
return (state & (INSTALLED | UNINSTALLED)) == 0;
}
@@ -1249,7 +1254,7 @@ public abstract class AbstractBundle implements Bundle, Comparable, KeyedElement
return false;
}
- protected BundleLoaderProxy[] getHosts() {
+ BundleHost[] getHosts() {
checkValid();
return null;
}

Back to the top