Repository: deltaspike Updated Branches: refs/heads/master a3347d193 -> d0ef9dfff
[DOCUMENTATION] - Fix a typo from pProjectStageis to ProjectStage is Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/d0ef9dff Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/d0ef9dff Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/d0ef9dff Branch: refs/heads/master Commit: d0ef9dfff9acd7b165c9b55624f96d7559df6042 Parents: a3347d1 Author: Rafael Benevides <[email protected]> Authored: Fri Dec 26 10:52:16 2014 -0200 Committer: Rafael Benevides <[email protected]> Committed: Fri Dec 26 10:52:16 2014 -0200 ---------------------------------------------------------------------- documentation/src/main/asciidoc/core.adoc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/d0ef9dff/documentation/src/main/asciidoc/core.adoc ---------------------------------------------------------------------- diff --git a/documentation/src/main/asciidoc/core.adoc b/documentation/src/main/asciidoc/core.adoc index 3f6df66..e9816e4 100644 --- a/documentation/src/main/asciidoc/core.adoc +++ b/documentation/src/main/asciidoc/core.adoc @@ -182,7 +182,7 @@ public class MyBean } --------------------------------------------------------- -.Excluding a Bean if the pProjectStageis Different from Development +.Excluding a Bean if the ProjectStage is different from Development [source,java] --------------------------------------------------------------- @Exclude(exceptIfProjectStage = ProjectStage.Development.class) @@ -229,16 +229,14 @@ public class SimpleExpressionInterpreter implements ExpressionInterpreter<String } ------------------------------------------------------------------------------------------ -In several cases it is also useful to combine this feature with the -`@Alternative` annotation provided by CDI. +In several cases it is also useful to combine this feature with the `@Alternative` annotation provided by CDI. In addition to the following snippet, it is required to configure the implementation as alternative in the beans.xml file. This configuration entry will not be changed, for example for different environments, because it just gets active if it is not excluded during the bootstrapping process. -.Excluding an Alternative Implementation if the pProjectStageis -Different from Development +.Excluding an Alternative implementation if the ProjectStage is different from Development [source,java] --------------------------------------------------------------- @Exclude(exceptIfProjectStage = ProjectStage.Development.class)
