added site.
authorErik Brakkee <erik@brakkee.org>
Wed, 14 Jul 2010 20:05:37 +0000 (20:05 +0000)
committerErik Brakkee <erik@brakkee.org>
Wed, 14 Jul 2010 20:05:37 +0000 (20:05 +0000)
support/cdi/src/site/site.xml [new file with mode: 0644]
support/cdi/src/site/xdoc/index.xml [new file with mode: 0644]

diff --git a/support/cdi/src/site/site.xml b/support/cdi/src/site/site.xml
new file mode 100644 (file)
index 0000000..c93f7c2
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"
+ name="utilities library: support/cdi">
+  <skin>
+    <groupId>org.wamblee</groupId>
+    <artifactId>wamblee-skin</artifactId>
+  </skin>
+  <body>
+    <links>
+      <item name="utilities library" href="http://utils.wamblee.org/"/>
+      <item name="support/cdi" href="http://utils.wamblee.org/support/cdi/index.html"/>
+    </links>
+
+    <menu name="support/cdi">
+      <item name="user guide" href="index.html"/>
+      <item name="full javadoc" href="apidocs/index.html"/>
+    </menu>
+  </body>
+</project>
diff --git a/support/cdi/src/site/xdoc/index.xml b/support/cdi/src/site/xdoc/index.xml
new file mode 100644 (file)
index 0000000..274a9db
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<document xmlns="http://maven.apache.org/XDOC/2.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
+  
+  <properties>
+    <title>user guide</title>
+    <author email="erik@brakkee.org">Erik Brakkee</author>
+  </properties>
+  <body>
+    <section name="Overview">
+      <p>The CDI (Contexts and Dependency Injection, JSR-299) support library contains support for
+        injecting contextual references into any object. THis is useful for integration of CDI in
+        application managed objects or for integration in third-party frameworks. Injection based on
+        for instance @EJB, @Resource, and @PersistenceContext becomes a one liner. 
+        In addition, there is also testing support in the APIs.</p>
+      <p>Package overview:</p>
+      <ul>
+        <li><a href="apidocs/org/wamblee/cdi/package-summary.html">CDI</a></li>
+      </ul>
+      <div class="infoMessage"><strong>Note</strong>:
+        You need a Java EE 6 environment to use CDI. 
+      </div>
+
+    </section>
+
+    <section name="Maven POM configuration">
+      <table>
+        <tr>
+          <th>groupId</th>
+          <th>artifactId</th>
+        </tr>
+        <tr>
+          <td>org.wamblee</td>
+          <td>wamblee-support-cdi</td>
+        </tr>
+      </table>
+    </section>
+
+  </body>
+</document>