Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutoProxyCreator Members

AbstractAutoProxyCreator overview

Protected Static (Shared) Fields

DO_NOT_PROXY Convenience constant for subclasses: Return value for "do not proxy".
PROXY_WITHOUT_ADDITIONAL_INTERCEPTORS Convenience constant for subclasses: Return value for "proxy without additional interceptors, just the common ones".

Public Instance Properties

AdvisorAdapterRegistry Sets the AdvisorAdapterRegistry to use.
AopProxyFactory (inherited from ProxyConfig) Gets and set the factory to be used to create AOP proxies.
ApplyCommonInterceptorsFirst Sets whether the common interceptors should be applied before object-specific ones.
CustomTargetSourceCreators 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 Sets the common interceptors, a list of IAdvice, IAdvisor and introduction object names.
IsFrozen Set whether or not the proxy should be frozen, preventing advice from being added to it once it is created.
ObjectFactory Callback that supplies the owning factory to an object instance.
Optimize (inherited from ProxyConfig) Are any agressive optimizations to be performed?
Order 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 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 Constructors

AbstractAutoProxyCreator Constructor Create a new instance of this AutoProxyCreator

Protected Instance Fields

logger The logger for this class hierarchy.

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