felix-commits mailing list archives

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

URL: http://svn.apache.org/r1550886
Log:
FELIX-4294: added toString method for shell improvement

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

Modified: felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AspectServiceImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AspectServiceImpl.java?rev=1550886&r1=1550885&r2=1550886&view=diff
==============================================================================
--- felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AspectServiceImpl.java
(original)
+++ felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AspectServiceImpl.java
Sat Dec 14 07:01:54 2013
@@ -165,5 +165,9 @@ public class AspectServiceImpl extends F
             Long sid = (Long) ref.getProperty(Constants.SERVICE_ID);
             return "(&(|(!(" + Constants.SERVICE_RANKING + "=*))(" + Constants.SERVICE_RANKING
+ "<=" + (m_ranking - 1) + "))(|(" + Constants.SERVICE_ID + "=" + sid + ")(" + DependencyManager.ASPECT
+ "=" + sid + ")))";
         }
+        
+        public String toString() {
+            return "Aspect for " + m_aspectInterface + ((m_aspectFilter != null) ? " with
filter " + m_aspectFilter : "");
+        }
     }
 }



Mime
View raw message