From: Rick E. <spr...@us...> - 2006-04-19 16:59:06
|
Update of /cvsroot/springframework/spring/docs/reference/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21259/docs/reference/src Modified Files: aspectj.xml metadata.xml new-in-2.0.xml transaction.xml Log Message: Added forward (TODO) pointers to the @Configurable section of the ref docs. Index: aspectj.xml =================================================================== RCS file: /cvsroot/springframework/spring/docs/reference/src/aspectj.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** aspectj.xml 18 Apr 2006 16:46:02 -0000 1.8 --- aspectj.xml 19 Apr 2006 16:58:59 -0000 1.9 *************** *** 226,230 **** <para>[TODO]</para> </section> ! <section> <title>Using the AspectJ 5 <literal>@AspectJ</literal> annotation-style syntax in Spring AOP</title> <section> --- 226,230 ---- <para>[TODO]</para> </section> ! <section id="aspectj-ataspectj"> <title>Using the AspectJ 5 <literal>@AspectJ</literal> annotation-style syntax in Spring AOP</title> <section> *************** *** 465,468 **** --- 465,474 ---- </section> </section> + <section id="aspectj-atconfigurable"> + <title>Dependency injection using AspectJ with @<interfacename>Configurable</interfacename></title> + <para> + [TODO] + </para> + </section> <section> <title>AspectJ advice with pointcut expressions in Spring XML</title> *************** *** 621,631 **** Find below links to further resources about AspectJ. </para> - <para> - AspectJ is very well documented. The AspectJ - <ulink linkend="http://www.eclipse.org/aspectj/doc/released/progguide/index.html">Programmers Guide</ulink>, - included in the AspectJ 5 distribution, is an excellent starting point. - </para> <itemizedlist> <listitem> <para>The <ulink url="http://www.eclipse.org/aspectj/">AspectJ</ulink> homepage</para> </listitem> --- 627,639 ---- Find below links to further resources about AspectJ. </para> <itemizedlist> <listitem> + <para> + The AspectJ + <ulink linkend="http://www.eclipse.org/aspectj/doc/released/progguide/index.html">Programmers Guide</ulink>, + included in the AspectJ 5 distribution, is an excellent starting point. + </para> + </listitem> + <listitem> <para>The <ulink url="http://www.eclipse.org/aspectj/">AspectJ</ulink> homepage</para> </listitem> Index: transaction.xml =================================================================== RCS file: /cvsroot/springframework/spring/docs/reference/src/transaction.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** transaction.xml 15 Mar 2006 13:51:11 -0000 1.31 --- transaction.xml 19 Apr 2006 16:58:59 -0000 1.32 *************** *** 737,755 **** is deployed as transactional is always deployed that way.</para> ! <sect3> ! <title>The <literal>Transactional</literal> Annotation</title> ! <para>The ! <literal>org.springframework.transaction.annotation.Transactional ! Annotation</literal> is used to indicate that an interface, interface method, class, or class method should have transaction semantics.</para> ! <para><programlisting>@Transactional public interface OrderService { void createOrder(Order order); ! List queryByCriteria(Order criteria);</programlisting>Used in bare form, this ! Annotation specifies that an interface, class, or method must be transactional. Default transaction semantics are read/write, PROPAGATION_REQUIRED, ISOLATION_DEFAULT, TIMEOUT_DEFAULT, with --- 737,758 ---- is deployed as transactional is always deployed that way.</para> ! <sect3 id="transaction-attransactional"> ! <title>@<interfacename>Transactional</interfacename></title> ! <para> ! The @<interfacename>Transactional</interfacename> annotation ! (in the <literal>org.springframework.transaction.annotation</literal> ! package) is used to indicate that an interface, interface method, class, or class method should have transaction semantics.</para> ! <programlisting><![CDATA[@Transactional public interface OrderService { void createOrder(Order order); ! List queryByCriteria(Order criteria);]]></programlisting> ! ! <para> ! Used in bare form, this Annotation specifies that an interface, class, or method must be transactional. Default transaction semantics are read/write, PROPAGATION_REQUIRED, ISOLATION_DEFAULT, TIMEOUT_DEFAULT, with *************** *** 761,765 **** <para><table> ! <title>Properties of the <literal>Transactional</literal> Annotation</title> <tgroup cols="3"> --- 764,768 ---- <para><table> ! <title>Properties of the <interfacename>Transactional</interfacename> Annotation</title> <tgroup cols="3"> *************** *** 853,857 **** <sect4> ! <title><literal>Transactional</literal> annotation examples</title> <para>Annotating a class definition:</para> --- 856,860 ---- <sect4> ! <title><interfacename>Transactional</interfacename> annotation examples</title> <para>Annotating a class definition:</para> *************** *** 886,890 **** <sect4> ! <title>Telling Spring to apply the <literal>Transactional</literal> annotation</title> <para>By itself, adding instances of this annotation to interface or --- 889,893 ---- <sect4> ! <title>Telling Spring to apply the <interfacename>Transactional</interfacename> annotation</title> <para>By itself, adding instances of this annotation to interface or *************** *** 920,924 **** <sect4> ! <title>Using AOP to ensure the <literal>Transactional</literal> annotation is applied</title> <para>The previous example is still more work than would be ideal. --- 923,927 ---- <sect4> ! <title>Using AOP to ensure the <interfacename>Transactional</interfacename> annotation is applied</title> <para>The previous example is still more work than would be ideal. *************** *** 938,942 **** processor, it gets a chance to look at every bean that is created as it is created. If the bean contains the ! <literal>Transactional</literal> annotation, a transactional proxy is automatically created to wrap it.</para> --- 941,945 ---- processor, it gets a chance to look at every bean that is created as it is created. If the bean contains the ! <interfacename>Transactional</interfacename> annotation, a transactional proxy is automatically created to wrap it.</para> Index: new-in-2.0.xml =================================================================== RCS file: /cvsroot/springframework/spring/docs/reference/src/new-in-2.0.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** new-in-2.0.xml 19 Apr 2006 16:25:33 -0000 1.4 --- new-in-2.0.xml 19 Apr 2006 16:58:59 -0000 1.5 *************** *** 338,341 **** --- 338,347 ---- <xref linkend="metadata-annotations-required" /> </listitem> + <listitem> + <para><xref linkend="aspectj-atconfigurable"/></para> + </listitem> + <listitem> + <para><xref linkend="aspectj-ataspectj"/></para> + </listitem> </itemizedlist> </section> Index: metadata.xml =================================================================== RCS file: /cvsroot/springframework/spring/docs/reference/src/metadata.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** metadata.xml 19 Apr 2006 16:25:32 -0000 1.14 --- metadata.xml 19 Apr 2006 16:58:59 -0000 1.15 *************** *** 262,265 **** --- 262,285 ---- <property name="requiredAnnotationType" value="your.company.package.Mandatory"/> </bean>]]></programlisting> + <section> + <title>Other @Annotations in Spring</title> + <para> + Annotations are also used in a number of other places throughout Spring. + Rather than being described here, these annotations are described in that + section or chapter of the reference documentation in which they are most + relevant. + </para> + <itemizedlist> + <listitem> + <para><xref linkend="transaction-attransactional"/></para> + </listitem> + <listitem> + <para><xref linkend="aspectj-atconfigurable"/></para> + </listitem> + <listitem> + <para><xref linkend="aspectj-ataspectj"/></para> + </listitem> + </itemizedlist> + </section> </section> </section> |