Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutoProxyCreator Methods

The methods of the AbstractAutoProxyCreator class are listed below. For a complete list of AbstractAutoProxyCreator class members, see the AbstractAutoProxyCreator 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 Create a proxy with the configured interceptors if the object is identified as one to proxy by the subclass.
PostProcessAfterInstantiation Default behavior, return true and continue processing.
PostProcessBeforeInitialization No-op for before initialization.
PostProcessBeforeInstantiation Create the proxy if have a custom TargetSource
PostProcessPropertyValues Default behavior, return passed in PropertyValues
ToString (inherited from ProxyConfig) A String that represents the current ProxyConfig configuration.

Protected Instance Methods

BuildAdvisors Determines the advisors for the given object, including the specific interceptors as well as the common interceptor, all adapted to the Advisor interface.
CreateProxy Create an AOP proxy for the given object.
CreateProxyFactory Obtain a new proxy factory instance to be used for proxying a particular object
CustomizeProxyFactory Subclasses may choose to implement this: for example, to change the interfaces exposed
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.
GetAdvicesAndAdvisorsForObject Return whether the given object is to be proxied, what additional advices (e.g. AOP Alliance interceptors) and advisors to apply.
GetCacheKey Build a cache key for the given object type and object name
GetCustomTargetSource 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.
IsInfrastructureType 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 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.

See Also

AbstractAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace | InterceptorNames | ObjectNameAutoProxyCreator