commit | 791c8d8aa08f73ebd6dd1effcda6b1da7ada66f4 | [log] [tgz] |
---|---|---|
author | Marcel Offermans <marrs@apache.org> | Wed Mar 03 15:36:12 2010 +0000 |
committer | Marcel Offermans <marrs@apache.org> | Wed Mar 03 15:36:12 2010 +0000 |
tree | 23aa187f2fd2898a39491ea6855272cf015ecfc5 | |
parent | 0bb2ce31cb3f1d069b2d3a63261d629c7a0b2a50 [diff] |
Updated the dictionary aspect sample. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@918517 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java b/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java index ad8e13e..0de6151 100644 --- a/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java +++ b/dependencymanager/samples.annotation/src/main/java/org/apache/felix/dm/samples/annotation/DictionaryAspect.java
@@ -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 + "=*))", - properties={@Param(name=Constants.SERVICE_RANKING, value="1")} -) +@AspectService( ranking = 10 ) public class DictionaryAspect implements DictionaryService { /**