Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAdvisorAutoProxyCreator Methods

The methods of the AbstractAdvisorAutoProxyCreator class are listed below. For a complete list of AbstractAdvisorAutoProxyCreator class members, see the AbstractAdvisorAutoProxyCreator Members topic.

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 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