Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractFallbackTransactionAttributeSource Class

Abstract implementation of ITransactionAttributeSource that caches attributes for methods, and implements a default fallback policy.

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


[Visual Basic]
Public MustInherit Class AbstractFallbackTransactionAttributeSource
    Implements ITransactionAttributeSource
public abstract class AbstractFallbackTransactionAttributeSource : 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.


The default fallback policy applied by this class is: most specific methodtarget class attributedeclaring methoddeclaring class

Defaults to using class's transaction attribute if none is associated with the target method. Any transaction attribute associated with the target method completely overrides a class transaction attribute.

This implementation caches attributes by method after they are first used. If it's ever desirable to allow dynamic changing of transaction attributes (unlikely) caching could be made configurable. Caching is desirable because of the cost of evaluating rollback rules.


Namespace: Spring.Transaction.Interceptor

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

See Also

AbstractFallbackTransactionAttributeSource Members | Spring.Transaction.Interceptor Namespace