Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionInterceptor Class

An AOP Alliance IMethodInterceptor providing declarative transaction management using the common Spring.NET transaction infrastructure.

For a list of all members of this type, see TransactionInterceptor Members .

System.Object
   TransactionAspectSupport
      TransactionInterceptor

[Visual Basic]
<Serializable> _
Public Class TransactionInterceptor
    Inherits TransactionAspectSupport
    Implements IMethodInterceptor, IInterceptor, IAdvice
[C#]
[Serializable]
public class TransactionInterceptor : TransactionAspectSupport, IMethodInterceptor, IInterceptor, IAdvice

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

That class contains the necessary calls into Spring.NET's underlying transaction API: subclasses such as this are responsible for calling superclass methods such as CreateTransactionIfNecessary in the correct order, in the event of normal invocation return or an exception.

TransactionInterceptors are thread-safe.

Requirements

Namespace: Spring.Transaction.Interceptor

Assembly: Spring.Data (in Spring.Data.dll)

See Also

TransactionInterceptor Members | Spring.Transaction.Interceptor Namespace