You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2013/09/22 15:49:25 UTC

svn commit: r1525358 - /felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-using-annotations/dependencymanager-annotations-spellchecker.mdtext

Author: pderop
Date: Sun Sep 22 13:49:25 2013
New Revision: 1525358

URL: http://svn.apache.org/r1525358
Log:
CMS migration

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-using-annotations/dependencymanager-annotations-spellchecker.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-using-annotations/dependencymanager-annotations-spellchecker.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-using-annotations/dependencymanager-annotations-spellchecker.mdtext?rev=1525358&r1=1525357&r2=1525358&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-using-annotations/dependencymanager-annotations-spellchecker.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-dependency-manager/apache-felix-dependency-manager-using-annotations/dependencymanager-annotations-spellchecker.mdtext Sun Sep 22 13:49:25 2013
@@ -259,10 +259,11 @@ dynamically. This is transparent, and   
 interrupted, they are  just rebound with the aspect service.
 
 As an example, we go back to our SpellChecker application, and we are now looking at the 
-DictionaryAspect class. This class uses the *@Aspect{*}Service annotation in order to add 
-some custom words to an English   DictionaryService (with the service property lang=en). 
-The Extra words   to add to the English Dictionary will be configured from ConfigAdmin.  
-That's why the class also uses a *@ConfigurationDependency* annotation:
+DictionaryAspect class. This class uses the *@Aspect* Service annotation in 
+order to add some custom words to an English DictionaryService (with the 
+service property lang=en). 
+The Extra words to add to the English Dictionary will be configured from 
+ConfigAdmin.  That's why the class also uses a *@ConfigurationDependency* annotation:
 
     :::java
     @AspectService(ranking = 10, filter = "(lang=en)")
@@ -270,7 +271,7 @@ That's why the class also uses a *@Confi
        /**
         * This is the service this aspect is applying to.
         */
-       private DictionaryService m_originalDictionary;
+       private volatile DictionaryService m_originalDictionary;
     
        /**
         * We store all configured words in a thread-safe data structure, because ConfigAdmin may