felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1660109 - in /felix/trunk/scr-compat: ./ src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java
Date Mon, 16 Feb 2015 13:03:36 GMT
Author: cziegeler
Date: Mon Feb 16 13:03:36 2015
New Revision: 1660109

URL: http://svn.apache.org/r1660109
Log:
FELIX-4785 : Incompatible SCR API

Modified:
    felix/trunk/scr-compat/   (props changed)
    felix/trunk/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java

Propchange: felix/trunk/scr-compat/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Feb 16 13:03:36 2015
@@ -0,0 +1,5 @@
+.settings
+
+.classpath
+
+.project

Modified: felix/trunk/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java?rev=1660109&r1=1660108&r2=1660109&view=diff
==============================================================================
--- felix/trunk/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java
(original)
+++ felix/trunk/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java
Mon Feb 16 13:03:36 2015
@@ -199,7 +199,7 @@ public class ScrServiceImpl implements S
 
         public boolean isServiceFactory()
         {
-            return false; // TODO
+            return !"singleton".equals(this.description.scope);
         }
 
         public String getClassName()



Mime
View raw message