You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by tv...@apache.org on 2018/11/26 15:02:22 UTC

[7/9] tomee git commit: Moved text from txt to md and deleted txt version.

Moved text from txt to md and deleted txt version.


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/34a3f23e
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/34a3f23e
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/34a3f23e

Branch: refs/heads/master
Commit: 34a3f23e2322f851a88aae5e08ae094ea69cf9f2
Parents: 4d1df83
Author: Richard Monson-Haefel <Ri...@Uncommon-Design.com>
Authored: Mon Nov 26 08:28:33 2018 -0600
Committer: Richard Monson-Haefel <Ri...@Uncommon-Design.com>
Committed: Mon Nov 26 08:28:33 2018 -0600

----------------------------------------------------------------------
 examples/cdi-produces-disposes/README.md  | 15 ++++++++++++++-
 examples/cdi-produces-disposes/README.txt | 18 ------------------
 2 files changed, 14 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/34a3f23e/examples/cdi-produces-disposes/README.md
----------------------------------------------------------------------
diff --git a/examples/cdi-produces-disposes/README.md b/examples/cdi-produces-disposes/README.md
index 70ffb65..1d4572a 100644
--- a/examples/cdi-produces-disposes/README.md
+++ b/examples/cdi-produces-disposes/README.md
@@ -1,6 +1,19 @@
 Title: CDI Produces Disposes
 
-*Help us document this example! Click the blue pencil icon in the upper right to edit this page.*
+
+This example shows how the @Produces and @Disposes annotations work. A LogFactory creates an instance of the LogHandler
+depending on a "type" attribute. For the purposes of this example, the type is hard-coded to a specific value.
+A Logger implementation shall contain a list of LogHandlers. We shall have three implementations of the LogHandler interface.
+
+  * A DatabaseHandler
+  * A FileHandler
+  * A ConsoleHandler
+
+The DatabaseHandler would seemingly write the logs to a database. The FileHandler would write the same logs to a file.
+The ConsoleHandler would just print the logs to a console (Standard out). This example is just an illustration of how
+the concepts within CDI work and is not intended to provide a logging framework design/implementation.
+
+*Help us finish documenting this example! Click the blue pencil icon in the upper right to edit this page.*
 
 ## ConsoleHandler
 

http://git-wip-us.apache.org/repos/asf/tomee/blob/34a3f23e/examples/cdi-produces-disposes/README.txt
----------------------------------------------------------------------
diff --git a/examples/cdi-produces-disposes/README.txt b/examples/cdi-produces-disposes/README.txt
deleted file mode 100644
index bca92da..0000000
--- a/examples/cdi-produces-disposes/README.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-This example shows how to use the concept of CDI in a simple POJO context
-
-This functionality is often referred as dependency injection (see
-http://www.martinfowler.com/articles/injection.html), and has been recently introduced in
-Java EE 5.
-
-This example shows how the @Produces and @Disposes annotations work. A LogFactory creates an instance of the LogHandler
-depending on a "type" attribute. For the purposes of this example, the type is hard-coded to a specific value.
-A Logger implementation shall contain a list of LogHandlers. We shall have three implementations of the LogHandler interface.
-
-  * A DatabaseHandler
-  * A FileHandler
-  * A ConsoleHandler
-
-The DatabaseHandler would seemingly write the logs to a database. The FileHandler would write the same logs to a file.
-The ConsoleHandler would just print the logs to a console (Standard out). This example is just an illustration of how
-the concepts within CDI work and is not intended to provide a logging framework design/implementation.
-