Author: marrs
Date: Wed Mar  3 15:36:12 2010
New Revision: 918517

URL: http://svn.apache.org/viewvc?rev=918517&view=rev
Log:
Updated the dictionary aspect sample.

Modified:
    
felix/trunk/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java

Modified: 
felix/trunk/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java
URL: 
http://svn.apache.org/viewvc/felix/trunk/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java?rev=918517&r1=918516&r2=918517&view=diff
==============================================================================
--- 
felix/trunk/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java
 (original)
+++ 
felix/trunk/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java
 Wed Mar  3 15:36:12 2010
@@ -19,18 +19,13 @@
 package org.apache.felix.dm.samples.annotation;
 
 import org.apache.felix.dm.annotation.api.AspectService;
-import org.apache.felix.dm.annotation.api.Param;
 import org.apache.felix.dm.annotation.api.ServiceDependency;
-import org.osgi.framework.Constants;
 import org.osgi.service.log.LogService;
 
 /**
  * This aspect wraps a Dictionary and checks the "aspect" word on behalf of it.
  */
-...@aspectservice(
-    filter="(!(" + Constants.SERVICE_RANKING + "=*))", 
-    propertie...@param(name=Constants.SERVICE_RANKING, value="1")}
-)
+...@aspectservice( ranking = 10 )
 public class DictionaryAspect implements DictionaryService
 {
     /**


Reply via email to