[jboss-cvs] JBossAS SVN: r57729 - projects/microcontainer/trunk/kernel/docs/gettingstarted/en/modules

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 19 12:18:00 EDT 2006


Author: cazzius
Date: 2006-10-19 12:17:58 -0400 (Thu, 19 Oct 2006)
New Revision: 57729

Modified:
   projects/microcontainer/trunk/kernel/docs/gettingstarted/en/modules/basics.xml
Log:
minor corrections


Modified: projects/microcontainer/trunk/kernel/docs/gettingstarted/en/modules/basics.xml
===================================================================
--- projects/microcontainer/trunk/kernel/docs/gettingstarted/en/modules/basics.xml	2006-10-19 11:58:09 UTC (rev 57728)
+++ projects/microcontainer/trunk/kernel/docs/gettingstarted/en/modules/basics.xml	2006-10-19 16:17:58 UTC (rev 57729)
@@ -104,7 +104,7 @@
 </bean>
     </programlisting>
     
-    <para>Behind the scene, the micorcontainer invokes:</para>
+    <para>Behind the scene, the microcontainer invokes:</para>
     
     <programlisting>
 new ConstructorBean (new String("a string"), (long) 10);
@@ -117,7 +117,7 @@
   <section>
     <title>Factories</title>
 
-    <para>Not all classes have pubic constructors. It is often good practice to use factories when you to have a choice of implementation for an interface. The microcontainer includes support for the several different types of factory. The simplest case is a static factory class with a static factory method like the following from the <varname>factory</varname> example.</para>
+    <para>Not all classes have public constructors. It is often good practice to use factories when you to have a choice of implementation for an interface. The microcontainer includes support for the several different types of factory. The simplest case is a static factory class with a static factory method like the following from the <varname>factory</varname> example.</para>
     
     <programlisting>
 public class StaticFactory
@@ -317,7 +317,7 @@
 example.setTitle(new String("null"));
 
 &lt;!-- Correct --&gt;
-&lt;bean name="Name1" class=com.acme.Example"&gt;
+&lt;bean name="Name1" class="com.acme.Example"&gt;
    &lt;property name="title"&gt;&lt;null/&gt;&lt;/property&gt;
 &lt;/bean&gt;
 
@@ -446,7 +446,7 @@
     <para>It is also possible to use a <varname>List</varname> as an element inside another <varname>List</varname>. Here is an example.</para>    
 
     <programlisting>
-&lt;bean name="Name1" class=com.acme.Example"&gt;
+&lt;bean name="Name1" class="com.acme.Example"&gt;
    &lt;property name="list"&gt;
       &lt;list class="java.util.LinkedList" elementClass="java.lang.String"&gt;
 




More information about the jboss-cvs-commits mailing list