aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1365088 - /aries/trunk/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmManagedServiceFactory.java
Date Tue, 24 Jul 2012 14:38:14 GMT
Author: gnodet
Date: Tue Jul 24 14:38:14 2012
New Revision: 1365088

URL: http://svn.apache.org/viewvc?rev=1365088&view=rev
Log:
[ARIES-584] Add back the pid service property

Modified:
    aries/trunk/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmManagedServiceFactory.java

Modified: aries/trunk/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmManagedServiceFactory.java
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmManagedServiceFactory.java?rev=1365088&r1=1365087&r2=1365088&view=diff
==============================================================================
--- aries/trunk/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmManagedServiceFactory.java
(original)
+++ aries/trunk/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmManagedServiceFactory.java
Tue Jul 24 14:38:14 2012
@@ -128,6 +128,7 @@ public class CmManagedServiceFactory ext
     }
 
     private void getRegistrationProperties(Dictionary properties, boolean update) {
+        String pid = (String) properties.get(Constants.SERVICE_PID);
         CmProperties cm = findServiceProcessor();
         if (cm == null) {
             while (!properties.isEmpty()) {
@@ -153,6 +154,7 @@ public class CmManagedServiceFactory ext
             }
         }
         properties.put(Constants.SERVICE_RANKING, ranking);
+        properties.put(Constants.SERVICE_PID, pid);
     }
 
     private void updateComponentProperties(Dictionary props) {



Mime
View raw message