Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MatchAlwaysTransactionAttributeSource Class

Very simple implementation of ITransactionAttributeSource which will always return the same ITransactionAttribute for all methods fed to it.

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

System.Object
   MatchAlwaysTransactionAttributeSource

[Visual Basic]
<Serializable> _
Public Class MatchAlwaysTransactionAttributeSource
    Implements ITransactionAttributeSource
[C#]
[Serializable]
public class MatchAlwaysTransactionAttributeSource : ITransactionAttributeSource

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

The ITransactionAttribute may be specified, but will otherwise default to PROPAGATION_REQUIRED. This may be used in the cases where you want to use the same transaction attribute with all methods being handled by a transaction interceptor.

Requirements

Namespace: Spring.Transaction.Interceptor

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

See Also

MatchAlwaysTransactionAttributeSource Members | Spring.Transaction.Interceptor Namespace