[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Mon Nov 20 14:56:49 EST 2006
User: gavin
Date: 06/11/20 14:56:49
Modified: doc/reference/en/modules components.xml concepts.xml
configuration.xml
Log:
updates
Revision Changes Path
1.48 +8 -0 jboss-seam/doc/reference/en/modules/components.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/components.xml,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- components.xml 20 Nov 2006 19:24:19 -0000 1.47
+++ components.xml 20 Nov 2006 19:56:49 -0000 1.48
@@ -12,6 +12,14 @@
<literal>@Name</literal>.
</para>
+ <para>
+ Note also that even though all the built in components use a
+ qualified name, most of them are aliased to unqualified names by
+ default. These aliases specify <literal>auto-create="true"</literal>,
+ so you do not need to use <literal>create=true</literal> when
+ injecting built-in components by their unqualified name.
+ </para>
+
<section>
<title>Context injection components</title>
<para>
1.40 +1 -1 jboss-seam/doc/reference/en/modules/concepts.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: concepts.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/concepts.xml,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
1.29 +3 -3 jboss-seam/doc/reference/en/modules/configuration.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: configuration.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/configuration.xml,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- configuration.xml 20 Nov 2006 19:24:19 -0000 1.28
+++ configuration.xml 20 Nov 2006 19:56:49 -0000 1.29
@@ -618,10 +618,10 @@
To configure our Seam component, as usual, we use <literal>components.xml</literal>:
</para>
- <programlisting><![CDATA[<component name="hibernateSessionFactory" auto-create="true"
+ <programlisting><![CDATA[<component name="hibernateSessionFactory"
class="org.jboss.seam.core.HibernateSessionFactory"/>
-<component name="bookingDatabase"
+<component name="bookingDatabase" auto-create="true"
class="org.jboss.seam.core.ManagedHibernateSession">
<property name="sessionFactoryJndiName">java:/bookingSessionFactory</property>
</component>]]></programlisting>
@@ -739,7 +739,7 @@
<programlisting><![CDATA[<component class="org.jboss.seam.core.Microcontainer"/>
-<component name="bookingDatabase"
+<component name="bookingDatabase" auto-create="true"
class="org.jboss.seam.core.ManagedHibernateSession">
<property name="sessionFactoryJndiName">java:/bookingSessionFactory</property>
</component>]]></programlisting>
More information about the jboss-cvs-commits
mailing list