[Springnet-commits] Spring.Net/doc/reference/src transaction.xml, 1.29, 1.30
Brought to you by:
aseovic,
markpollack
From: Mark P. <mar...@us...> - 2008-05-27 19:06:55
|
Update of /cvsroot/springnet/Spring.Net/doc/reference/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv1183 Modified Files: transaction.xml Log Message: SPRNET-945 - NameMatchTransactionAttributeSource to support conversion of string representation do specify transaction attributes Index: transaction.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/transaction.xml,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** transaction.xml 9 Apr 2008 18:40:10 -0000 1.29 --- transaction.xml 27 May 2008 19:06:49 -0000 1.30 *************** *** 839,850 **** <programlisting><object name="nameMatchTxAttributeSource" type="Spring.Transaction.Interceptor.NameMatchTransactionAttributeSource, Spring.Data" ! <property name="SomeDictionary"> <dictionary> <entry key="Execute" value="PROPAGATION_REQUIRES_NEW, -ApplicationException"/> ! <entry key="HandleData" value="PROPAGATION_REQUIRES, -DataHandlerException"/> </dictionary> </property> </object></programlisting> </listitem> --- 839,855 ---- <programlisting><object name="nameMatchTxAttributeSource" type="Spring.Transaction.Interceptor.NameMatchTransactionAttributeSource, Spring.Data" ! <property name="NameMap"> <dictionary> <entry key="Execute" value="PROPAGATION_REQUIRES_NEW, -ApplicationException"/> ! <entry key="HandleData" value="PROPAGATION_REQUIRED, -DataHandlerException"/> ! <entry key="Find*" value="ISOLATION_READUNCOMMITTED, -DataHandlerException"/> </dictionary> </property> </object></programlisting> + + <para>Key values can be prefixed and/or suffixed with wildcards + as well as include the full namespace of the containing + class.</para> </listitem> *************** *** 852,858 **** <para><classname>MethodMapTransactionAttributeSource</classname> : Similar to NameMatchTransactionAttributeSource but specifies ! fully qualified method names (i.e. type.method, assembly) and ! wildcards can be used at the start or end of the method name for ! matching multiple methods.</para> </listitem> </itemizedlist> --- 857,863 ---- <para><classname>MethodMapTransactionAttributeSource</classname> : Similar to NameMatchTransactionAttributeSource but specifies ! that only fully qualified method names (i.e. type.method, ! assembly) and wildcards can be used at the start or end of the ! method name for matching multiple methods.</para> </listitem> </itemizedlist> *************** *** 1133,1141 **** <listitem> <para>The propagation setting is ! TransactionPropagation.Required</para> </listitem> <listitem> ! <para>The isolation level is IsolationLevel.ReadCommitted</para> </listitem> --- 1138,1147 ---- <listitem> <para>The propagation setting is ! <literal>TransactionPropagation.Required</literal></para> </listitem> <listitem> ! <para>The isolation level is ! <literal>IsolationLevel.ReadCommitted</literal></para> </listitem> *************** *** 1291,1299 **** <listitem> <para>The propagation setting is ! TransactionPropagation.Required</para> </listitem> <listitem> ! <para>The isolation level is IsolationLevel.ReadCommitted</para> </listitem> --- 1297,1306 ---- <listitem> <para>The propagation setting is ! <literal>TransactionPropagation.Required</literal></para> </listitem> <listitem> ! <para>The isolation level is ! <literal>IsolationLevel.ReadCommitted</literal></para> </listitem> *************** *** 1591,1594 **** --- 1598,1608 ---- <classname>NameMatchTransactionAttributeSource</classname></para> + <para>The string used for PROPAGATION_NAME are those defined on the + Spring.Transaction.TransactionPropagation enumeration, namely Required, + Supports, Mandatory, RequiresNew, NotSupported, Never, Nested. The + string used for ISOLATION_NAME are those defined on the + System.Data.IsolationLevel enumberateion, namely ReadCommitted, + ReadUncommitted, RepeatableRead, Serializable.</para> + <para>The TransactionProxyFactoryObject allows you to set optional "pre" and "post" advice, for additional interception behavior, using the |