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

Peter Muir peter at bleepbleep.org.uk
Mon Jan 29 07:43:00 EST 2007


  User: pmuir   
  Date: 07/01/29 07:43:00

  Modified:    doc/reference/en/modules   components.xml mail.xml
  Log:
  Update docs for JNDI session lookup
  
  Revision  Changes    Path
  1.54      +1 -6      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.53
  retrieving revision 1.54
  diff -u -b -r1.53 -r1.54
  --- components.xml	28 Jan 2007 21:58:54 -0000	1.53
  +++ components.xml	29 Jan 2007 12:43:00 -0000	1.54
  @@ -990,12 +990,7 @@
                           </listitem>
                           <listitem>
                           <para>
  -                            <literal>org.jboss.seam.mail.mailSession.lookupService</literal> &mdash; if false, Seam won't attempt to get a Session from JNDI (by default true)
  -                        </para>
  -                        </listitem>
  -                        <listitem>
  -                        <para>
  -                            <literal>org.jboss.seam.mail.mailSession.serviceName</literal> &mdash; the name under which the session is bound to JNDI (by default <literal>java:/Mail</literal>)
  +                            <literal>org.jboss.seam.mail.mailSession.sessionJndiName</literal> &mdash; name under which a javax.mail.Session is bound to JNDI
                           </para>
                           </listitem>
                       </itemizedlist>
  
  
  
  1.6       +8 -3      jboss-seam/doc/reference/en/modules/mail.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: mail.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/mail.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- mail.xml	28 Jan 2007 21:58:54 -0000	1.5
  +++ mail.xml	29 Jan 2007 12:43:00 -0000	1.6
  @@ -125,16 +125,21 @@
           <section>
   	        <title><literal>mailSession</literal></title>
   	        
  -	        <para>A JavaMail Session may be available via a JNDI lookup if you are working in an JEE environment.  If a Session is available
  -	        via a JNDI lookup, Seam will simply wrap this Session.  Otherwise, you can use a Seam configured Session.</para>
  +	        <para>A JavaMail Session may be available via a JNDI lookup if you are working in an JEE environment or you can use a Seam configured Session.</para>
   	        
   	        <para>The mailSession component's properties are described in more detail in <xref linkend="components.mail"/>.</para>
   	        
   	        <section>
  -		        <title>JEE enviroments</title>
  +		        <title>JNDI lookup in JBoss AS</title>
   		        <para>The JBossAS <literal>deploy/mail-service.xml</literal> configures a JavaMail session binding into JNDI.  The default service configuration will
   		        need altering for your network.  <ulink url="http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaMail">http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaMail</ulink>
   		        describes the service in more detail.</para>
  +		         <programlisting><![CDATA[<components xmlns="http://jboss.com/products/seam/components" 
  +        xmlns:core="http://jboss.com/products/seam/core"
  +        xmlns:mail="http://jboss.com/products/seam/mail">
  +    <mail:mailSession sessionJndiName="java:/Mail" />
  +</components>]]></programlisting>
  +		        <para>Here we tell Seam to get the mail session bound to <literal>java:/Mail</literal> from JNDI.</para>
   	        </section>
   	        
   	       	<section>
  
  
  



More information about the jboss-cvs-commits mailing list