AttributeAutoProxyCreator Members
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AttributeAutoProxyCreator Members

AttributeAutoProxyCreator overview

Public Instance Constructors

AttributeAutoProxyCreator Constructor Initializes a new instance of the AttributeAutoProxyCreator class.

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.
AttributeTypes The list of attribute types marking object types as eligible for auto-proxying by this AutoProxyCreator. Must not be null.
CheckInherited Indicates, whether to consider base types for filtering when checking declared attributes. Defaults to false.
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 (inherited from AbstractAutoProxyCreator) Callback that supplies the owning factory to an object instance.
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 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.
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
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 (inherited from AbstractFilteringAutoProxyCreator) Override to always return PROXY_WITHOUT_ADDITIONAL_INTERCEPTORS.
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.
IsAnnotatedWithAnyOfAttribute Checks if objectType is annotated with any of the attributes within the given list of attributeTypes.
IsAnnotatedWithAttribute Checks if objectType is annotated with the specified attributeType.
IsEligibleForProxying Determines, whether the given object shall be proxied by matching targetType against AttributeTypes.
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 AbstractFilteringAutoProxyCreator) Overridden to call IsEligibleForProxying.

See Also

AttributeAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace