Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisedSupport Members

AdvisedSupport overview

Protected Static (Shared) Methods

GetInterfaces Gets all of the interfaces implemented by the Type of the supplied target.

Public Instance Constructors

AdvisedSupport Overloaded. Initializes a new instance of the AdvisedSupport class.

Public Instance Properties

AdvisorChainFactory Gets and sets the IAdvisorChainFactory implementation that will be used to get the interceptor chains for the advised Target.
Advisors Returns the collection of IAdvisor instances that have been applied to this proxy.
AopProxyFactory (inherited from ProxyConfig) Gets and set the factory to be used to create AOP proxies.
AutoDetectInterfaces If no explicit interfaces are specified, interfaces will be automatically determined from the target type on proxy creation. Defaults to true
ExposeProxy (inherited from ProxyConfig) Should proxies obtained from this configuration expose the AOP proxy to the AopContext class?
InterfaceMap Returns the mapping of the proxied interface Types to their delegates.
Interfaces Returns the collection of interface Types to be (or that are being) proxied by this proxy.
Introductions Returns the collection of IIntroductionAdvisor instances that have been applied to this proxy.
IsFrozen (inherited from ProxyConfig) Is this configuration frozen?
IsSerializable Returns a boolean specifying if this IAdvised instance can be serialized.
Optimize (inherited from ProxyConfig) Are any agressive optimizations to be performed?
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
Target Sets the target object that is to be advised.
TargetSource Returns the current ITargetSource used by this IAdvised object.
TargetType Gets the target type behind the implementing object. Ttypically a proxy configuration or an actual proxy.

Public Instance Methods

AddAdviceOverloaded. Adds the supplied advice to the end (or tail) of the advice (interceptor) chain.
AddAdvisorOverloaded. Adds the supplied advisor to the list of Advisors.
AddAdvisors Adds the advisors from the supplied advisors to the list of Advisors.
AddInterface Adds a new interface to the list of interfaces that are proxied by this proxy.
AddIntroductionOverloaded. Adds the supplied introductionAdvisor to the list of Introductions.
AddListener Registers the supplied listener as a listener for AdvisedSupport notifications.
AdviceIncluded Is the supplied advice included in any advisor?
CopyFrom (inherited from ProxyConfig) Copies the configuration from the supplied otherConfiguration into this instance.
CountAdviceOfType Returns a count of all of the IAdvice type-compatible with the supplied Type.
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.
IndexOfOverloaded. Return the index (0 based) of the supplied IAdvisor in the interceptor (advice) chain for this proxy.
IsInterfaceProxied Is the supplied intf (interface) Type proxied?
RemoveAdvice Removes the supplied advice from the list of Advisors.
RemoveAdvisorOverloaded. Removes the supplied advisor the list of advisors for this proxy.
RemoveInterface Removes the supplied (proxied) intf.
RemoveIntroductionOverloaded. Removes the supplied introduction from the list of Introductions.
RemoveListener Removes the supplied listener.
ReplaceAdvisor Replaces the oldAdvisor with the newAdvisor.
ReplaceIntroduction Replaces the IIntroductionAdvisor that exists at the supplied index in the list of Introductions with the supplied introduction.
ToProxyConfigString As ToString will normally be passed straight through to the advised target, this method returns the ToString equivalent for the AOP proxy itself.
ToString A String that represents the current ProxyConfig configuration.

Protected Instance Fields

m_targetSource The ITargetSource for this instance.

Protected Instance Properties

IsActive Called by subclasses to get a value indicating whether any AOP proxies have been created yet.

Protected Instance Methods

Activate Activates this instance.
AddInterfaceInternal Adds a new interface to the list of interfaces that are proxied by this proxy.
AdviceChanged Callback method that is invoked when the interceptor list has changed.
CopyConfigurationFromOverloaded. Copies the configuration from the supplied other AdvisedSupport into this instance.
CreateAopProxy Creates an AOP proxy using this instance's configuration data.
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.
InterfacesChanged Callback method that is invoked when the list of proxied interfaces has changed.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
SetInterfacesInternal Set interfaces to be proxied, bypassing locking and IsFrozen
ToProxyConfigStringInternal Returns textual information about this configuration object

See Also

AdvisedSupport Class | Spring.Aop.Framework Namespace | IAopProxy