Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2013-05-24 19:29:11 +0000
committerThomas Watson2013-05-24 19:29:11 +0000
commit086ef55989f8162f3e42226d7889266f05af8cd0 (patch)
tree2cec1be79af66a44e473191cd496c22579a005ff /bundles/org.eclipse.osgi
parentfbaadf6c78675445ec10bb26ced28033f1f4997d (diff)
downloadrt.equinox.framework-086ef55989f8162f3e42226d7889266f05af8cd0.tar.gz
rt.equinox.framework-086ef55989f8162f3e42226d7889266f05af8cd0.tar.xz
rt.equinox.framework-086ef55989f8162f3e42226d7889266f05af8cd0.zip
Add javadoc.
Diffstat (limited to 'bundles/org.eclipse.osgi')
-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