[weld-commits] Weld SVN: r5087 - doc/trunk/reference/en-US.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Tue Nov 17 01:23:37 EST 2009


Author: gavin.king at jboss.com
Date: 2009-11-17 01:23:37 -0500 (Tue, 17 Nov 2009)
New Revision: 5087

Modified:
   doc/trunk/reference/en-US/environments.xml
Log:
revise SE section

Modified: doc/trunk/reference/en-US/environments.xml
===================================================================
--- doc/trunk/reference/en-US/environments.xml	2009-11-17 05:56:07 UTC (rev 5086)
+++ doc/trunk/reference/en-US/environments.xml	2009-11-17 06:23:37 UTC (rev 5087)
@@ -239,35 +239,40 @@
       <itemizedlist>
          <listitem>
             <para>
-               <literal>POJOs (no EJBs)</literal>
+               Managed beans with <literal>@PostConstruct</literal> and <literal>@PreDestroy</literal> 
+               lifecycle callbacks
             </para>
          </listitem>
          <listitem>
             <para>
-               <literal>Typesafe Dependency Injection</literal>
+               Dependency injection with qualifiers and alternatives
             </para>
          </listitem>
          <listitem>
             <para>
-               <literal>Application and Dependent Contexts</literal>
+               <literal>@Application</literal> and <literal>@Dependent</literal> scopes
             </para>
          </listitem>
          <listitem>
             <para>
-               <literal>Qualifiers</literal>
+               Stereotypes
             </para>
          </listitem>
          <listitem>
             <para>
-               <literal>Stereotypes</literal>
+               Events
             </para>
          </listitem>
          <listitem>
             <para>
-               <literal>Typesafe Event Model</literal>
+               Portable extensions
             </para>
          </listitem>
       </itemizedlist>
+      
+      <para>
+         EJB beans are not supported.
+      </para>
 
       <section id="weld-se">
          <title>CDI SE Module</title>
@@ -279,10 +284,16 @@
             <literal>ContainerInitialized</literal> event provided by this extension. The command line parameters can be
             injected using either of the following:
          </para>
-         <programlisting role="JAVA"><![CDATA[@Inject @Parameters List<String> params;
- at Inject @Parameters String[] paramsArray; // useful for compatability with existing classes]]></programlisting>
-
+         
+         <programlisting role="JAVA"><![CDATA[@Inject @Parameters List<String> params;]]></programlisting>
+         
+         <programlisting role="JAVA"><![CDATA[@Inject @Parameters String[] paramsArray;]]></programlisting>
+         
          <para>
+            The second form is useful for compatibility with existing classes.
+         </para>
+         
+         <para>
             Here's an example of a simple CDI SE application:
          </para>
 
@@ -297,7 +308,7 @@
 }]]></programlisting>
 
          <para>
-            CDI SE applications can be bootstrapped by running the StartMain class like so:
+            CDI SE applications can be bootstrapped by running the <literal>StartMain</literal> class like so:
          </para>
 
          <programlisting role="JAVA"><![CDATA[java org.jboss.weld.environments.se.StartMain <args>]]></programlisting>



More information about the weld-commits mailing list