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();