Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionProxyFactoryObject Class

Proxy factory object for simplified declarative transaction handling.

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

System.Object
   ProxyConfig
      TransactionProxyFactoryObject

[Visual Basic]
Public Class TransactionProxyFactoryObject
    Inherits ProxyConfig
    Implements IFactoryObject, IInitializingObject
[C#]
public class TransactionProxyFactoryObject : ProxyConfig, IFactoryObject, IInitializingObject

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

Alternative to the standard AOP ProxyFactoryObject with a TransactionInterceptor.

This class is intended to cover the typical case of declarative transaction demarcation: namely, wrapping a (singleton) target object with a transactional proxy, proxying all the interfaces that the target implements.

Internally, a TransactionInterceptor instance is used, but the user of this class does not have to care. Optionally, an IPointcut can be specified to cause conditional invocation of the underlying TransactionInterceptor.

The PreInterceptors and PostInterceptors properties can be set to add additional interceptors to the mix.

Requirements

Namespace: Spring.Transaction.Interceptor

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

See Also

TransactionProxyFactoryObject Members | Spring.Transaction.Interceptor Namespace