Update of /cvsroot/springnet/Spring.Net/doc/reference/src
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv10706
Modified Files:
aop.xml transaction.xml
Log Message:
misc updates
Index: transaction.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/transaction.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** transaction.xml 24 Jan 2008 17:32:36 -0000 1.25
--- transaction.xml 25 Jan 2008 17:34:11 -0000 1.26
***************
*** 382,388 ****
connection/transaction pair that is aware of the transactional calling
context and returns a pair suitable for that context. The class
! ConnectionUtils contains the static method ConnectionTxPair
! GetConnectionTxPair(IDbProvider provider) which serves this
! purpose.</para>
</sect2>
</sect1>
--- 382,388 ----
connection/transaction pair that is aware of the transactional calling
context and returns a pair suitable for that context. The class
! <classname>ConnectionUtils</classname> contains the static method
! <literal>ConnectionTxPair GetConnectionTxPair(IDbProvider provider)
! </literal>which serves this purpose.</para>
</sect2>
</sect1>
***************
*** 452,458 ****
significant advantage that business objects don't need to depend on the
transaction infrastructure. For example, they typically don't need to
! import any Spring APIs, transaction or other.</para>
! <para></para>
<sect2 id="tx-understandingimpl">
--- 452,460 ----
significant advantage that business objects don't need to depend on the
transaction infrastructure. For example, they typically don't need to
! import any Spring APIs, transaction or other. If you would like to
! rollback the transaction programmatically and you are using declarative
! transaction management, use the utility method</para>
! <programlisting>TransactionInterceptor.CurrentTransactionStatus.RollbackOnly = true;</programlisting>
<sect2 id="tx-understandingimpl">
***************
*** 1060,1064 ****
below.</para>
! <programlisting><object id="serviceOperation" type="RegularExpressionPointcut">
<property name="pattern" value="Spring.TxQuickStart.Services.*"/>
</object>
--- 1062,1066 ----
below.</para>
! <programlisting><object id="serviceOperation" type="Spring.Aop.Support.SdkRegularExpressionMethodPointcut, Spring.Aop">
<property name="pattern" value="Spring.TxQuickStart.Services.*"/>
</object>
***************
*** 1832,1839 ****
in the transaction lifecycle. Note that you can register for lifecycle
call back information for any of the transaction managers you use, be it
! NHibernate or local ADO.NET transactions. </para>
<para>The method to register a callback with the
! <classname>TransactionSynchronizationManager</classname> is </para>
<programlisting>public static void RegisterSynchronization( ITransactionSynchronization synchronization ) </programlisting>
--- 1834,1841 ----
in the transaction lifecycle. Note that you can register for lifecycle
call back information for any of the transaction managers you use, be it
! NHibernate or local ADO.NET transactions.</para>
<para>The method to register a callback with the
! <classname>TransactionSynchronizationManager</classname> is</para>
<programlisting>public static void RegisterSynchronization( ITransactionSynchronization synchronization ) </programlisting>
Index: aop.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/aop.xml,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** aop.xml 16 Jan 2008 17:21:44 -0000 1.49
--- aop.xml 25 Jan 2008 17:34:10 -0000 1.50
***************
*** 401,405 ****
<para>Using this class, you can provide a list of pattern Strings.
If any of these is a match, the pointcut will evaluate to true (so
! the result is effectively the union of these pointcuts.)</para>
--- 401,408 ----
<para>Using this class, you can provide a list of pattern Strings.
If any of these is a match, the pointcut will evaluate to true (so
! the result is effectively the union of these pointcuts.). The
! matching is done against the full class name so you can use this
! pointcut if you would like to apply advice to all the classes in a
! particular namespace.</para>
***************
*** 2120,2124 ****
unordered.</para>
!
</sect3>
--- 2123,2127 ----
unordered.</para>
!
</sect3>
|