Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAdvisorAutoProxyCreator Class

Abstract IObjectPostProcessor implementation that creates AOP proxies. This class is completely generic; it contains no special code to handle any particular aspects, such as pooling aspects.

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

System.Object
   ProxyConfig
      AbstractAutoProxyCreator
         AbstractAdvisorAutoProxyCreator
            DefaultAdvisorAutoProxyCreator
            InfrastructureAdvisorAutoProxyCreator

[Visual Basic]
Public MustInherit Class AbstractAdvisorAutoProxyCreator
    Inherits AbstractAutoProxyCreator
[C#]
public abstract class AbstractAdvisorAutoProxyCreator : AbstractAutoProxyCreator

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

Subclasses must implement the abstract findCandidateAdvisors() method to return a list of Advisors applying to any object. Subclasses can also override the inherited shouldSkip() method to exclude certain objects from autoproxying, but they must be careful to invoke the shouldSkip() method of this class, which tries to avoid circular reference problems and infinite loops.

Advisors or advices requiring ordering should implement the Ordered interface. This class sorts advisors by Ordered order value. Advisors that don't implement the Ordered interface will be considered to be unordered, and will appear at the end of the advisor chain in undefined order.

Requirements

Namespace: Spring.Aop.Framework.AutoProxy

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

See Also

AbstractAdvisorAutoProxyCreator Members | Spring.Aop.Framework.AutoProxy Namespace | FindCandidateAdvisors