Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ProxyFactory Constructor

Creates a new instance of the ProxyFactory class for the given interface and interceptor.

[Visual Basic]
Public Overloads Sub New( _
   ByVal proxyInterface As Type, _
   ByVal interceptor As IInterceptor _
)
[C#]
ProxyFactory(
   Type proxyInterface,
   IInterceptor interceptor
);

Parameters

proxyInterface
The interface that the proxy should implement.
interceptor
The interceptor that the proxy should invoke.

Remarks

Convenience method for creating a proxy for a single interceptor , assuming that the interceptor handles all calls itself rather than delegating to a target, like in the case of remoting proxies.

See Also

ProxyFactory Class | Spring.Aop.Framework Namespace | ProxyFactory Constructor Overload List