Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAdvisorAutoProxyCreator Members

AbstractAdvisorAutoProxyCreator overview

Public Instance Properties

AdvisorAdapterRegistry (inherited from AbstractAutoProxyCreator) Sets the AdvisorAdapterRegistry to use.
AopProxyFactory (inherited from ProxyConfig) Gets and set the factory to be used to create AOP proxies.
ApplyCommonInterceptorsFirst (inherited from AbstractAutoProxyCreator) Sets whether the common interceptors should be applied before object-specific ones.
CustomTargetSourceCreators (inherited from AbstractAutoProxyCreator) Sets custom TargetSourceCreators to be applied in this order.
ExposeProxy (inherited from ProxyConfig) Should proxies obtained from this configuration expose the AOP proxy to the AopContext class?
InterceptorNames (inherited from AbstractAutoProxyCreator) Sets the common interceptors, a list of IAdvice, IAdvisor and introduction object names.
IsFrozen (inherited from AbstractAutoProxyCreator) Set whether or not the proxy should be frozen, preventing advice from being added to it once it is created.
ObjectFactory We override this method to ensure that all candidate advisors are materialized under a stack trace including this object. Otherwise, the dependencies won't be apparent to the circular-reference prevention strategy in AbstractObjectFactory.
Optimize (inherited from ProxyConfig) Are any agressive optimizations to be performed?
Order (inherited from AbstractAutoProxyCreator) Propery Order
ProxyTargetAttributes (inherited from ProxyConfig) Is target type attributes, method attributes, method's return type attributes and method's parameter attributes to be proxied in addition to any interfaces declared on the proxied Type?
ProxyTargetType (inherited from ProxyConfig) Is the target Type to be proxied in addition to any interfaces declared on the proxied Type?
SyncRoot (inherited from ProxyConfig) Use to synchronize access to this ProxyConfig instance

Public Instance Methods

CopyFrom (inherited from ProxyConfig) Copies the configuration from the supplied otherConfiguration into this instance.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
PostProcessAfterInitialization (inherited from AbstractAutoProxyCreator) Create a proxy with the configured interceptors if the object is identified as one to proxy by the subclass.
PostProcessAfterInstantiation (inherited from AbstractAutoProxyCreator) Default behavior, return true and continue processing.
PostProcessBeforeInitialization (inherited from AbstractAutoProxyCreator) No-op for before initialization.
PostProcessBeforeInstantiation (inherited from AbstractAutoProxyCreator) Create the proxy if have a custom TargetSource
PostProcessPropertyValues (inherited from AbstractAutoProxyCreator) Default behavior, return passed in PropertyValues
ToString (inherited from ProxyConfig) A String that represents the current ProxyConfig configuration.

Protected Instance Constructors

AbstractAdvisorAutoProxyCreator Constructor Initialize

Protected Instance Fields

logger (inherited from AbstractAutoProxyCreator) The logger for this class hierarchy.

Protected Instance Methods

BuildAdvisors (inherited from AbstractAutoProxyCreator) Determines the advisors for the given object, including the specific interceptors as well as the common interceptor, all adapted to the Advisor interface.
CreateAdvisorRetrievalHelper Create the IAdvisorRetrievalHelper for retrieving the list of applicable advisor objects. The default implementation calls back into IsEligibleAdvisorObject thus it usually is sufficient to just override IsEligibleAdvisorObject. Override CreateAdvisorRetrievalHelper only if you know what you are doing!
CreateProxy (inherited from AbstractAutoProxyCreator) Create an AOP proxy for the given object.
CreateProxyFactory (inherited from AbstractAutoProxyCreator) Obtain a new proxy factory instance to be used for proxying a particular object
CustomizeProxyFactory (inherited from AbstractAutoProxyCreator) Subclasses may choose to implement this: for example, to change the interfaces exposed
ExtendAdvisors Extension hook that subclasses can override to register additional advisors, given the sorted advisors obtained to date.
The default implementation does nothing.
Typically used to add advisors that expose contextual information required by some of the later advisors.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindAdvisorsThatCanApply From the given list of candidate advisors, select the ones that are applicable to the given target specified by targetType and name.
FindCandidateAdvisors Find all possible advisor candidates to use in auto-proxying
FindEligibleAdvisors Find all eligible advices and for autoproxying this class.
GetAdvicesAndAdvisorsForObject Return whether the given object is to be proxied, what additional advices (e.g. AOP Alliance interceptors) and advisors to apply.
GetCacheKey (inherited from AbstractAutoProxyCreator) Build a cache key for the given object type and object name
GetCustomTargetSource (inherited from AbstractAutoProxyCreator) Create a target source for object instances. Uses any TargetSourceCreators if set. Returns null if no Custom TargetSource should be used. This implementation uses the customTargetSourceCreators property. Subclasses can override this method to use a different mechanism.
InitObjectFactory An new IConfigurableListableObjectFactory was set. Initialize this creator instance according to the specified object factory.
IsEligibleAdvisorObject Whether the given advisor is eligible for the specified target. The default implementation always returns true.
IsInfrastructureType (inherited from AbstractAutoProxyCreator) Determines whether the object is an infrastructure type, IAdvisor, IAdvice, IAdvisors or AbstractAutoProxyCreator
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ShouldSkip (inherited from AbstractAutoProxyCreator) Subclasses should override this method to return true if this object should not be considered for autoproxying by this post processor. Sometimes we need to be able to avoid this happening if it will lead to a circular reference. This implementation returns false.
SortAdvisors Sorts the advisors.

See Also

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