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/08/22 23:43:32 UTC

svn commit: r1697135 - in /incubator/tamaya/site/trunk/content: download.mdtext quickstart.mdtext

Author: anatole
Date: Sat Aug 22 21:43:32 2015
New Revision: 1697135

URL: http://svn.apache.org/r1697135
Log:
Fixed links.
Simplified quickstart page.

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

Modified: incubator/tamaya/site/trunk/content/download.mdtext
URL: http://svn.apache.org/viewvc/incubator/tamaya/site/trunk/content/download.mdtext?rev=1697135&r1=1697134&r2=1697135&view=diff
==============================================================================
--- incubator/tamaya/site/trunk/content/download.mdtext (original)
+++ incubator/tamaya/site/trunk/content/download.mdtext Sat Aug 22 21:43:32 2015
@@ -41,7 +41,7 @@ Details are available <a href="documenta
 
 # Previous Releases
 
-See <a href="http://archive.apache.org/dist/tamaya/" target="_blank">Release-Archive</a>
+See <a href="http://archive.apache.org/dist/incubator/tamaya/" target="_blank">Release-Archive</a>
 
 # Verifying Releases
 

Modified: incubator/tamaya/site/trunk/content/quickstart.mdtext
URL: http://svn.apache.org/viewvc/incubator/tamaya/site/trunk/content/quickstart.mdtext?rev=1697135&r1=1697134&r2=1697135&view=diff
==============================================================================
--- incubator/tamaya/site/trunk/content/quickstart.mdtext (original)
+++ incubator/tamaya/site/trunk/content/quickstart.mdtext Sat Aug 22 21:43:32 2015
@@ -71,91 +71,18 @@ it using the Java ServiceLoader.
 # Adding additional features
 
 There many modules that extend the capabilities of Tamaya. These modules doe not depend on core, so alternative
-implementations of the Tamaya API should work similarly. Following a small extract of most important modules
-available (or available soon):
+implementations of the Tamaya API should work similarly. Basically all modules can be simply added by adding their
+maven settings, e.g.:
 
 ## Dynamic Resolution and Value Placeholders
 
     <dependency>
       <artifactId>org.apache.tamaya.ext</id>
       <artifactId>tamaya-resolver</artifactId>
-      <version><CURRENT_VERSION></version>
+      <version>0.1-incubating</version>
     </dependency>
 
-With that it is possible to define values with Unix styled placeholders that are resolved on configuration access,
-e.g. _mykey=my${dynamicValue}_. For further details refer to the module documentation. This module also provides
-a *Resolver* singleton:
+Look [here][1] For further documentation on available extension modules.
 
-    String myExpression = ...;
-    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>
-      <artifactId>org.apache.tamaya.ext</id>
-      <artifactId>tamaya-resolution</artifactId>
-      <version><CURRENT_VERSION></version>
-    </dependency>
-
-This module provides a *Resolver* singleton that allows to resolve configuration resources using a ant-styled
-resource description, e.g.
-
-    Collection<URL> urls = ResourceResolver.getResources("META-INF/cfg/**/*.properties");
-
- For further details refer to the module documentation.
-
-
-## Configuration Injection
-
-    <dependency>
-      <artifactId>org.apache.tamaya.ext</id>
-      <artifactId>tamaya-inject</artifactId>
-      <version><CURRENT_VERSION></version>
-    </dependency>
-
-With this extension you can let _Tamaya_ inject configuration into instances of annotated classes or
-let Tamaya implement a configuration template:
-corresponding configuration:
-
-
-    public class MyType{
-
-       @ConfiguredProperty("name")
-       private String typeName;
-
-       public String getName(){
-          return name;
-       }
-
-    }
-
-    MyType type = new MyType();
-    ConfigurationInjector.configure(type);
-
-Or the same as template:
-
-    public interface MyTypeTemplate{
-
-       @ConfiguredProperty("name")
-       public String getName();
-
-    }
-
-    MyTypeTemplate type = ConfigurationInjector.createTemplate(MyTypeTemplate.class);
 
+  [1]: documentation/modules.html
\ No newline at end of file