Author: hiranya
Date: Mon Jul  6 23:13:05 2009
New Revision: 40910
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=40910

Log:
Minor changes to the secure vault docs



Modified:
   trunk/esb/java/docs/xdoc/securing_secret_information.xml

Modified: trunk/esb/java/docs/xdoc/securing_secret_information.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/securing_secret_information.xml?rev=40910&r1=40909&r2=40910&view=diff
==============================================================================
--- trunk/esb/java/docs/xdoc/securing_secret_information.xml    (original)
+++ trunk/esb/java/docs/xdoc/securing_secret_information.xml    Mon Jul  6 
23:13:05 2009
@@ -197,16 +197,16 @@
 <h2>Adapting in OSGI Environment</h2>
 
 <p>All 'SecretCallbackHandlers' other than the
-'SecretManagerSecretCallbackHandler' are stateless enabling to use
+'SecretManagerSecretCallbackHandler' are stateless enabling to be used
 without any additional code. With 'SecretManagerSecretCallbackHandler',
-it is better if there is only one 'SecretManager' instance. More
+it is best if there is only one 'SecretManager' instance. More
 precisely, a single 'SecretManagerSecretCallbackHandler' instance.
 For this, there is a carbon module called 'secretvault'. It just reads
 'secret-conf.properties' and initiates a new
 'SecretCallbackHandler' instance. This can be a
 'SecretManagerSecretCallbackHandler' or any other
 'SecretCallbackHandlers' instance that needs to be shared
-globally.To acccess this instance one must follow the instuctions
+globally. To acccess this instance one must follow the instuctions
 given below.</p>
 
 <p></p>
@@ -232,11 +232,12 @@
 
 <p></p>
 
-<pre>* @scr.reference name="secret.callback.handler.service"
+<pre>
+/** @scr.reference name="secret.callback.handler.service"
 * interface="org.wso2.carbon.securevault.SecretCallbackHandlerService"
 * cardinality="1..1" policy="dynamic"
 * bind="setSecretCallbackHandlerService" 
unbind="unsetSecretCallbackHandlerService
-
+*/
 
 protected void setSecretCallbackHandlerService( SecretCallbackHandlerService 
secretCallbackHandlerService) {
             Logic on Set
@@ -246,6 +247,12 @@
            Logic on Unset
 }</pre>
 
+<p>
+The annotations at the top are required and the Maven SCR plugin must be used 
to build the code. Please refer
+Maven 2 documentation on how to use the Maven SCR plugin. SCR plugin generates 
OSGi declarative service
+descriptors by parsing the scr annotations stated in the source files.
+</p>
+
 <p><strong>Logic on Set </strong></p>
 
 <p>If the secret that needs to be resolved can be accessed directlym, for 
example

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to