[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Michael Youngstrom youngm at gmail.com
Fri Nov 16 15:43:22 EST 2007


  User: myoungstrom
  Date: 07/11/16 15:43:22

  Modified:    doc/reference/en/modules  spring.xml
  Log:
  JBSEAM-2190 documentation
  
  Revision  Changes    Path
  1.26      +5 -0      jboss-seam/doc/reference/en/modules/spring.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: spring.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/spring.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -b -r1.25 -r1.26
  --- spring.xml	6 Nov 2007 22:49:42 -0000	1.25
  +++ spring.xml	16 Nov 2007 20:43:22 -0000	1.26
  @@ -192,6 +192,11 @@
           <para> The prefix of the scope name may be changed by specifying the <literal>prefix</literal> attribute in the
                   <literal>configure-scopes</literal> definition. (The default prefix is <literal>seam.</literal>) </para>
   
  +        <para> By default an instance of a Spring Component registered in this way is not automatically created when
  +		        referenced using <literal>@In</literal>.  To have an instance auto-created you must either specify <literal>@In(create=true)</literal>
  +		        at the injection point to identify a specific bean to be auto created or you can use the <literal>default-auto-create</literal>
  +		        attribute of <literal>configure-scopes</literal> to make all spring beans who use a seam scope auto created.</para>
  +
           <para> Seam-scoped Spring beans defined this way can be injected into other Spring beans without the use of
                   <literal>&lt;seam:instance/&gt;</literal>. However, care must be taken to ensure scope impedance
               is maintained. The normal approach used in Spring is to specify
  
  
  



More information about the jboss-cvs-commits mailing list