Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2017-02-09 15:09:37 +0000
committerThomas Watson2017-02-09 15:09:37 +0000
commit1bc36f585d4c1e6e329b0d584c9a649f0330416a (patch)
tree3a6453208eaef1679d2dda931b50d1e36ec3de2c
parent8fabc5c55da1e58516b5a3b2631a37414d4fbb63 (diff)
downloadrt.equinox.framework-1bc36f585d4c1e6e329b0d584c9a649f0330416a.tar.gz
rt.equinox.framework-1bc36f585d4c1e6e329b0d584c9a649f0330416a.tar.xz
rt.equinox.framework-1bc36f585d4c1e6e329b0d584c9a649f0330416a.zip
Bug 511593 - Issue resolving split packages
Add javadoc for the getSubstitutionWires method Change-Id: I10f81b743365eda2a38b8a08e4e8547612a90e70 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java
index 201a26bd4..dd8a8dd62 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/container/ModuleWiring.java
@@ -461,6 +461,17 @@ public final class ModuleWiring implements BundleWiring, FelixWiring {
}
/**
+ * Returns the subset of {@link Wiring#getRequiredResourceWires(String) require wires}
+ * that provide wires to {@link Capability capabilities} which substitute capabilities
+ * of this wiring. For example, when a {@link PackageNamespace package} name is both
+ * provided and required by the same resource. If the package requirement is resolved
+ * to a capability hosted by a different wiring then the package capability is
+ * considered to be substituted.
+ *
+ * @see #getSubstitutedNames()
+ * @return A collection containing a snapshot of the substitution {@link Wire}s
+ * for the {@link Requirement requirements} of this wiring, or an empty list
+ * if this wiring has no substitution wires.
* @since 3.12
*/
@Override

Back to the top