You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2011/06/30 21:06:35 UTC

svn commit: r1141670 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java

Author: rickhall
Date: Thu Jun 30 19:06:34 2011
New Revision: 1141670

URL: http://svn.apache.org/viewvc?rev=1141670&view=rev
Log:
Add access methods to wire for provider/requirer. (FELIX-2950)

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java?rev=1141670&r1=1141669&r2=1141670&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/wiring/BundleWireImpl.java Thu Jun 30 19:06:34 2011
@@ -41,6 +41,11 @@ public class BundleWireImpl implements B
         m_cap = cap;
     }
 
+    public BundleRevision getRequirer()
+    {
+        return m_requirer;
+    }
+
     public BundleWiring getRequirerWiring()
     {
         return m_requirer.getWiring();
@@ -51,6 +56,11 @@ public class BundleWireImpl implements B
         return m_req;
     }
 
+    public BundleRevision getProvider()
+    {
+        return m_provider;
+    }
+
     public BundleWiring getProviderWiring()
     {
         return m_provider.getWiring();