You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2015/07/08 10:29:20 UTC

zest-qi4j git commit: How-to use @Invocation annotation: minor edits and typo fixes

Repository: zest-qi4j
Updated Branches:
  refs/heads/develop 299b141e5 -> fccefe362


How-to use @Invocation annotation: minor edits and typo fixes


Project: http://git-wip-us.apache.org/repos/asf/zest-qi4j/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-qi4j/commit/fccefe36
Tree: http://git-wip-us.apache.org/repos/asf/zest-qi4j/tree/fccefe36
Diff: http://git-wip-us.apache.org/repos/asf/zest-qi4j/diff/fccefe36

Branch: refs/heads/develop
Commit: fccefe362a69a62d7a2073190fe7edd935630f2b
Parents: 299b141
Author: Paul Merlin <pa...@apache.org>
Authored: Wed Jul 8 10:29:09 2015 +0200
Committer: Paul Merlin <pa...@apache.org>
Committed: Wed Jul 8 10:29:09 2015 +0200

----------------------------------------------------------------------
 manual/src/docs/tutorials/howto-invocation-annotation.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/fccefe36/manual/src/docs/tutorials/howto-invocation-annotation.txt
----------------------------------------------------------------------
diff --git a/manual/src/docs/tutorials/howto-invocation-annotation.txt b/manual/src/docs/tutorials/howto-invocation-annotation.txt
index 454c46a..200ed44 100644
--- a/manual/src/docs/tutorials/howto-invocation-annotation.txt
+++ b/manual/src/docs/tutorials/howto-invocation-annotation.txt
@@ -18,11 +18,11 @@
 ///////////////////////////////////////////////////////////////
 
 [[howto-invocation-annotation,Use @Invocation]]
-= How to use @Invocation annotation =
+= Use @Invocation =
 The @Invocation annotation is relatively unknown but can be rather powerful to use, especially when creating
 libraries that needs to be flexible of what the user needs to do.
 
-@Invocation is a difference +InjectionScope+, which is a concept to tell Zest runtime where to look for the
+@Invocation is a different +InjectionScope+, which is a concept to tell Zest runtime where to look for the
 instances to be injected. Other, more well-known, +InjectionScope+ annotations are +@This+, +@Structure+ and
 +@Service+.
 
@@ -49,7 +49,7 @@ It is often useful to introduce one's own annotations, especially for libraries,
 the runtime to do different things. Many of the "built-in" features in Zest is actually done by this mechanism and
 not directly implemented in the Core Runtime.
 
-First create a annotation of your own liking, and it must have +java.lang.annotation.Retention+ set to +RUNTIME+
+First create an annotation of your own liking, it must have +java.lang.annotation.Retention+ set to +RUNTIME+
 
 [snippet,java]
 -----------
@@ -73,6 +73,6 @@ source=core/runtime/src/test/java/org/qi4j/runtime/injection/InvocationInjection
 tag=use1
 -----------
 
-== +java.util.Iterable<Method> ==
-This injection will provide all the declared method of the current composite. This is particularly useful for mixins
+== java.util.Iterable<Method> ==
+This injection will provide all the declared methods of the current composite. This is particularly useful for mixins
 or concerns that builds information about the composite they belong to.
\ No newline at end of file