From weld-commits at lists.jboss.org Mon Nov 9 20:55:20 2009 Content-Type: multipart/mixed; boundary="===============4471595045892022918==" MIME-Version: 1.0 From: weld-commits at lists.jboss.org To: weld-commits at lists.jboss.org Subject: [weld-commits] Weld SVN: r4924 - doc/trunk/reference/en-US. Date: Mon, 09 Nov 2009 20:55:20 -0500 Message-ID: <200911100155.nAA1tKDC002539@svn01.web.mwc.hst.phx2.redhat.com> --===============4471595045892022918== 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-09 20:55:19 -0500 (Mon, 09 Nov 2009) New Revision: 4924 Modified: doc/trunk/reference/en-US/scopescontexts.xml Log: better Modified: doc/trunk/reference/en-US/scopescontexts.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/scopescontexts.xml 2009-11-10 01:49:00 UTC (r= ev 4923) +++ doc/trunk/reference/en-US/scopescontexts.xml 2009-11-10 01:55:19 UTC (r= ev 4924) @@ -312,20 +312,15 @@ The <literal>@New</literal> qualifier = - The built-in @New qualifier annotation allo= ws implicit definition of - a dependent bean at an injection point. Suppose we declare the= following injected field: + The built-in qualifier @New allows us to ob= tain a dependent object of a specified class. = - + = + The class must be a valid managed bean or session bean, but= need not be an enabled bean. + = - Then a bean with scope @Dependent, qualifie= r type @New, API type - Calculator, implementation class C= alculator and deployment type - @Standard is implicitly defined. - - - - This is true even if Calculator is already declared with a different + This works even if Calculator is = already declared with a different scope type, for example: = --===============4471595045892022918==--