You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by an...@apache.org on 2015/03/17 20:58:04 UTC

svn commit: r1667382 - /incubator/tamaya/site/trunk/content/quickstart.mdtext

Author: anatole
Date: Tue Mar 17 19:58:03 2015
New Revision: 1667382

URL: http://svn.apache.org/r1667382
Log:
Moved section to the right place.

Modified:
    incubator/tamaya/site/trunk/content/quickstart.mdtext

Modified: incubator/tamaya/site/trunk/content/quickstart.mdtext
URL: http://svn.apache.org/viewvc/incubator/tamaya/site/trunk/content/quickstart.mdtext?rev=1667382&r1=1667381&r2=1667382&view=diff
==============================================================================
--- incubator/tamaya/site/trunk/content/quickstart.mdtext (original)
+++ incubator/tamaya/site/trunk/content/quickstart.mdtext Tue Mar 17 19:58:03 2015
@@ -83,6 +83,21 @@ a *Resolver* singleton:
     String resolved = Resolver.evaluateExpression(myExpression);
 
 
+Currently the following resolvers are available:
+
+* *conf* cross-reference to another configuration entry.
+* *url* referencing a resource addressable by an URL.
+* *file* referencing a file, replacing the expression with the file's text value.
+* *resource* referencing a classpath resource, replacing the expression with the resource's text value.
+
+A concrete example of a referencing entry would be:
+
+    myKey=My ${conf:a.b.c.otherKey} entry.
+
+Evaluation supports multiple evaluation steps, e.g. needed for evaluating of values that are expressions themselves
+(and so on). In case of circular dependencies evaluation will stop after a configurable amount of evaluation
+cycles done.
+
 ## Ant-styled Path Resolution of Resources
 
     <dependency>
@@ -137,10 +152,3 @@ Or the same as template:
 
     MyTypeTemplate type = ConfigurationInjector.createTemplate(MyTypeTemplate.class);
 
-
-Currently the following resolvers are available:
-
-* *conf* cross-reference to another configuration entry.
-* *url* referencing a resource addressable by an URL.
-* *file* referencing a file, replacing the expression with the file's text value.
-* *resource* referencing a classpath resource, replacing the expression with the resource's text value.