felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1550889 - /felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FilterService.java
Date Sat, 14 Dec 2013 07:09:42 GMT
Author: pderop
Date: Sat Dec 14 07:09:42 2013
New Revision: 1550889

URL: http://svn.apache.org/r1550889
Log:
FELIX-4294: added getClassName, getId, getServices methods. Modified getServiceProperties
to return adapter service properties

Modified:
    felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FilterService.java

Modified: felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FilterService.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FilterService.java?rev=1550889&r1=1550888&r2=1550889&view=diff
==============================================================================
--- felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FilterService.java
(original)
+++ felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/FilterService.java
Sat Dec 14 07:09:42 2013
@@ -112,8 +112,14 @@ public class FilterService implements Co
         return m_component.getService();
     }
 
+    public String getClassName() {
+        return m_component.getClassName();
+    }
+    
     public synchronized Dictionary getServiceProperties() {
-        return m_serviceProperties;
+        // We return the service properties (if any) of the adapter, not of the components

+        // created by adapters or aspects.
+        return m_component.getServiceProperties();
     }
 
     public ServiceRegistration getServiceRegistration() {
@@ -269,7 +275,15 @@ public class FilterService implements Co
     public int getState() {
         return m_component.getState();
     }
+    
+    public long getId() {
+        return m_component.getId();
+    }
 
+    public String[] getServices() {
+        return m_component.getServices();
+    }
+    
     public BundleContext getBundleContext() {
         return m_component.getBundleContext();
     };



Mime
View raw message