From 086ef55989f8162f3e42226d7889266f05af8cd0 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Fri, 24 May 2013 14:29:11 -0500 Subject: Add javadoc. --- .../src/org/eclipse/osgi/container/ModuleContainer.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bundles/org.eclipse.osgi') 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 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 { -- cgit v1.2.3