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/02/28 23:34:35 UTC
incubator-tamaya git commit: Updated documentation.
Repository: incubator-tamaya
Updated Branches:
refs/heads/master b35b51718 -> e58a52406
Updated documentation.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/e58a5240
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/e58a5240
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/e58a5240
Branch: refs/heads/master
Commit: e58a52406470df78dc9ee2caadfad731075dbf01
Parents: b35b517
Author: anatole <an...@apache.org>
Authored: Sat Feb 28 23:34:25 2015 +0100
Committer: anatole <an...@apache.org>
Committed: Sat Feb 28 23:34:25 2015 +0100
----------------------------------------------------------------------
docs/modules/injection.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/e58a5240/docs/modules/injection.adoc
----------------------------------------------------------------------
diff --git a/docs/modules/injection.adoc b/docs/modules/injection.adoc
index 3e4221a..2522fdd 100644
--- a/docs/modules/injection.adoc
+++ b/docs/modules/injection.adoc
@@ -40,10 +40,10 @@ Apache Tamaya -- Injection Module
== The Tamaya Injection API
=== Overview
-Inversion of Control (aka IoC/the Hollywood Principle) has proven to be very handy and effective in avoiding boilerplate
+Inversion of Control (aka IoC/the Hollywood Principle) has proven to be very useful and effective in avoiding boilerplate
code. In Java there are different frameworks available that all provide IoC mechanisms. Unfortunately IoC is not a
built-in language feature. So for a portable solution that works also in Java SE Tamaya itself has to provide the
-according injection services. This module adds that functionality to Tamaya. As an example refer to the following
+according injection services. This module adds this functionality to Tamaya. As an example refer to the following
code snippet:
[source,java]
@@ -95,7 +95,7 @@ ConfigurationInjector.configure(configuredClass);
==== The Annotations in detail
-The +ConfigurationInjector+ interface provides methods that allow to any kind of instances be configured
+The +ConfigurationInjector+ interface provides methods that allow any kind of instances to be configured
by passing the instances to +T ConfigurationInjector.getInstance().configure(T);+. The classes passed
hereby must not be annotated with +@ConfiguredProperty+ for being configurable. By default Tamaya
tries to determine configuration for each property of an instance passed, using the following resolution policy: