Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java
index b14cb2a88..39d5d84d7 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleContainer.java
@@ -453,6 +453,14 @@ public final class ModuleContainer {
return applyDelta(deltaWiring, modulesResolved, triggers, timestamp, restartTriggers);
}
+ /**
+ * Attempts to resolve the specified dynamic package name request for the specified revision.
+ * @param dynamicPkgName the package name to attempt a dynamic resolution for
+ * @param revision the module revision the dynamic resolution request is for
+ * @return the new resolution wire establishing a dynamic package resolution or null if
+ * a dynamic wire could not be established.
+ * @throws ResolutionException
+ */
public ModuleWire resolveDynamic(String dynamicPkgName, ModuleRevision revision) throws ResolutionException {
ModuleWire result;
Map<ModuleRevision, ModuleWiring> deltaWiring;
@@ -959,6 +967,10 @@ public final class ModuleContainer {
}
}
+ /**
+ * Sets all the module states uninstalled exepect for the system module.
+ * @throws BundleException
+ */
public void setInitialModuleStates() throws BundleException {
moduleDatabase.readLock();
try {

Back to the top