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/04 02:13:33 UTC

incubator-tamaya git commit: Added descriptions for the various examples.

Repository: incubator-tamaya
Updated Branches:
  refs/heads/master 4644378e7 -> 3ae0a8471


Added descriptions for the various examples.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/3ae0a847
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/3ae0a847
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/3ae0a847

Branch: refs/heads/master
Commit: 3ae0a847107b73e459f121d9de251e998613a0dc
Parents: 4644378
Author: anatole <at...@gmail.com>
Authored: Tue Aug 4 02:13:19 2015 +0200
Committer: anatole <at...@gmail.com>
Committed: Tue Aug 4 02:13:19 2015 +0200

----------------------------------------------------------------------
 docs/src/main/asciidoc/examples.adoc | 34 ++++++++++++++++++++++++-------
 1 file changed, 27 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/3ae0a847/docs/src/main/asciidoc/examples.adoc
----------------------------------------------------------------------
diff --git a/docs/src/main/asciidoc/examples.adoc b/docs/src/main/asciidoc/examples.adoc
index b9228f5..bc0a8a8 100644
--- a/docs/src/main/asciidoc/examples.adoc
+++ b/docs/src/main/asciidoc/examples.adoc
@@ -37,23 +37,43 @@ toc::[]
 == Tamaya Examples
 
 === Minimal
-tbc
+
+This example shows the basic functionality that is available when Tamaya is used without any further extensions.
+It shows how configuration can be added to the classpath and how it can be accessed.
 
 === Simple PropertySource
-tbc
+
+This example shows how to write and register an additional +PropertySource+ and +PropertySourceProvider+, which is
+the SPI to add your own configuration data and locations. For a more advanced example you may also have a look at
+the provided default metamodels, e.g. the simple metamodel (currently in the experimental part and not shipped with
+the current release).
 
 === Resources
-tbc
+
+This example shows how resources can be located using ANT-styled paths and this feature can help you to implement
++PropertySourceProvider+ instances that provide configuration for a set of files/folders at a certain (searchable)
+location, as provided by the resource extension_.
 
 === Resolver
-tbc
+
+The resolver example defines a configuration file that illustrates the usage of placeholders that are resolved on
+configuration access, as provided by the _resolver extension_.
 
 === Injection
-tbc
+
+The injection sample shows how to inject configuration into a created object instance, or how to instantiate a proxied
+configuration template, which provides a type-safe configuration access mechanism. This functionality is provided
+by the _injection extension_. Hereby neither JSR 330 nor 299 are used, so it is pure and minimal SE based
+implementation.
 
 === FileObserver
-tbc
+
+This example shows how the +event extension+ can be used to automatically adapt the current configuration when
+the underlying configuration data is changing, e.g. when new configuration is added to a file folder, or removed or
+adapted.
 
 === Builder
-tbc
+
+This example shows how to build a +Configuration+ using a simple pure SE builder API as provided by the
+_builder extension_.