From weld-commits at lists.jboss.org Tue Nov 17 01:23:37 2009 Content-Type: multipart/mixed; boundary="===============7359684236226533938==" MIME-Version: 1.0 From: weld-commits at lists.jboss.org To: weld-commits at lists.jboss.org Subject: [weld-commits] Weld SVN: r5087 - doc/trunk/reference/en-US. Date: Tue, 17 Nov 2009 01:23:37 -0500 Message-ID: <200911170623.nAH6Nbva005327@svn01.web.mwc.hst.phx2.redhat.com> --===============7359684236226533938== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: gavin.king(a)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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 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 @@ - POJOs (no EJBs) + Managed beans with @PostConstruct and @PreDestroy = + lifecycle callbacks - Typesafe Dependency Injection + Dependency injection with qualifiers and alternatives - Application and Dependent Contexts + @Application and @Dependent scopes - Qualifiers + Stereotypes - Stereotypes + Events - Typesafe Event Model + Portable extensions + = + + EJB beans are not supported. + =
CDI SE Module @@ -279,10 +284,16 @@ ContainerInitialized event provided by this= extension. The command line parameters can be injected using either of the following: - params; -(a)Inject @Parameters String[] paramsArray; // useful for compatability wi= th existing classes]]> - + = + params;]]> + = + + = + The second form is useful for compatibility with existing clas= ses. + + = + Here's an example of a simple CDI SE application: = @@ -297,7 +308,7 @@ }]]> = - CDI SE applications can be bootstrapped by running the StartMa= in class like so: + CDI SE applications can be bootstrapped by running the StartMain class like so: = ]]> --===============7359684236226533938==--