commit | 154e8a6f99807cd21ec75e3ca0a65eaa4aef0040 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Thu Jun 30 19:06:34 2011 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Thu Jun 30 19:06:34 2011 +0000 |
tree | a0b17c1dc711061bf484b3622d0af2592e2d3e72 | |
parent | 4b2c11deaa4bef4049bca46d90e32b1f3591fdfd [diff] |
Add access methods to wire for provider/requirer. (FELIX-2950) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1141670 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java b/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java index 51afe24..ea5346e 100644 --- a/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java +++ b/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java
@@ -41,6 +41,11 @@ m_cap = cap; } + public BundleRevision getRequirer() + { + return m_requirer; + } + public BundleWiring getRequirerWiring() { return m_requirer.getWiring(); @@ -51,6 +56,11 @@ return m_req; } + public BundleRevision getProvider() + { + return m_provider; + } + public BundleWiring getProviderWiring() { return m_provider.getWiring();