Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutoProxyCreator.CreateProxy Method

Create an AOP proxy for the given object.

[Visual Basic]
Protected Overridable Sub CreateProxy( _
   ByVal targetType As Type, _
   ByVal targetName As String, _
   ByVal specificInterceptors As Object, _
   ByVal targetSource As ITargetSource _
)
[C#]
protected virtual object CreateProxy(
   Type targetType,
   string targetName,
   object[] specificInterceptors,
   ITargetSource targetSource
);

Parameters

targetType
Type of the object.
targetName
The name of the object.
specificInterceptors
The set of interceptors that is specific to this object (may be empty but not null)
targetSource
The target source for the proxy, already pre-configured to access the object.

Return Value

The AOP Proxy for the object.

See Also

AbstractAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace