You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by pl...@apache.org on 2016/09/25 21:23:52 UTC

[04/50] [abbrv] incubator-tamaya-sandbox git commit: TAMAYA-60 Completed the JavaDoc for now.

TAMAYA-60 Completed the JavaDoc for now.


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

Branch: refs/heads/master
Commit: da8f60178746c14ea7a24e711147594f5a6dbc39
Parents: 51393bf
Author: Oliver B. Fischer <pl...@apache.org>
Authored: Thu Mar 12 07:42:08 2015 +0100
Committer: Oliver B. Fischer <pl...@apache.org>
Committed: Thu Mar 12 07:42:08 2015 +0100

----------------------------------------------------------------------
 .../tamaya/modules/builder/ConfigurationBuilder.java   | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/da8f6017/src/main/java/org/apache/tamaya/modules/builder/ConfigurationBuilder.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/tamaya/modules/builder/ConfigurationBuilder.java b/src/main/java/org/apache/tamaya/modules/builder/ConfigurationBuilder.java
index 945eb2f..2d7ccac 100644
--- a/src/main/java/org/apache/tamaya/modules/builder/ConfigurationBuilder.java
+++ b/src/main/java/org/apache/tamaya/modules/builder/ConfigurationBuilder.java
@@ -69,6 +69,19 @@ import static java.lang.String.format;
  *
  * Configuration config = builder.build();
  * }</pre>
+ *
+ * <p><strong>Support for configuration formats</strong></p>
+ *
+ * The configuration builder allows you to add property resources
+ * via a URL, as shown in the code example above, without implementing
+ * a {@link org.apache.tamaya.spi.PropertySource PropertySource} or providing an
+ * instance of a {@link org.apache.tamaya.spi.PropertySource PropertySource}.
+ * If a property resource in
+ * a specific format can be added to configuration builder or not depends
+ * on the available implementations of
+ * {@link org.apache.tamaya.format.ConfigurationFormat} in the classpath.
+ * Which formats are available can be checked via
+ * {@link org.apache.tamaya.format.ConfigurationFormats#getFormats()}.
  */
 public class ConfigurationBuilder {
     /** Builder used to create new ConfigurationContext instances. */