Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ProxyFactoryObject Methods

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

Public Instance Methods

AddAdvice (inherited from AdvisedSupport)Overloaded. Adds the supplied advice to the end (or tail) of the advice (interceptor) chain.
AddAdvisor (inherited from AdvisedSupport)Overloaded. Adds the supplied advisor to the list of Advisors.
AddAdvisors (inherited from AdvisedSupport) Adds the advisors from the supplied advisors to the list of Advisors.
AddInterface (inherited from AdvisedSupport) Adds a new interface to the list of interfaces that are proxied by this proxy.
AddIntroduction (inherited from AdvisedSupport)Overloaded. Adds the supplied introductionAdvisor to the list of Introductions.
AddListener (inherited from AdvisedSupport) Registers the supplied listener as a listener for AdvisedSupport notifications.
AdviceIncluded (inherited from AdvisedSupport) Is the supplied advice included in any advisor?
CopyFrom (inherited from ProxyConfig) Copies the configuration from the supplied otherConfiguration into this instance.
CountAdviceOfType (inherited from AdvisedSupport) 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.
GetObject Creates an instance of the AOP proxy to be returned by this factory
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf (inherited from AdvisedSupport)Overloaded. Return the index (0 based) of the supplied IAdvisor in the interceptor (advice) chain for this proxy.
IsInterfaceProxied (inherited from AdvisedSupport) Is the supplied intf (interface) Type proxied?
RemoveAdvice (inherited from AdvisedSupport) Removes the supplied advice from the list of Advisors.
RemoveAdvisor (inherited from AdvisedSupport)Overloaded. Removes the supplied advisor the list of advisors for this proxy.
RemoveInterface (inherited from AdvisedSupport) Removes the supplied (proxied) intf.
RemoveIntroduction (inherited from AdvisedSupport)Overloaded. Removes the supplied introduction from the list of Introductions.
RemoveListener (inherited from AdvisedSupport) Removes the supplied listener.
ReplaceAdvisor (inherited from AdvisedSupport) Replaces the oldAdvisor with the newAdvisor.
ReplaceIntroduction (inherited from AdvisedSupport) Replaces the IIntroductionAdvisor that exists at the supplied index in the list of Introductions with the supplied introduction.
ToProxyConfigString (inherited from AdvisedSupport) As ToString will normally be passed straight through to the advised target, this method returns the ToString equivalent for the AOP proxy itself.
ToString (inherited from AdvisedSupport) A String that represents the current ProxyConfig configuration.

Protected Instance Methods

Activate (inherited from AdvisedSupport) Activates this instance.
AddInterfaceInternal (inherited from AdvisedSupport) Adds a new interface to the list of interfaces that are proxied by this proxy.
AdviceChanged (inherited from AdvisedSupport) Callback method that is invoked when the interceptor list has changed.
CopyConfigurationFrom (inherited from AdvisedSupport)Overloaded. Copies the configuration from the supplied other AdvisedSupport into this instance.
CreateAopProxy (inherited from AdvisedSupport) 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 (inherited from AdvisedSupport) Set interfaces to be proxied, bypassing locking and IsFrozen
ToProxyConfigStringInternal Returns textual information about this configuration object

See Also

ProxyFactoryObject Class | Spring.Aop.Framework Namespace | InterceptorNames | ProxyInterfaces | IMethodInterceptor | IAdvisor | SingletonTargetSource