Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutoProxyCreator.PostProcessBeforeInstantiation Method

Create the proxy if have a custom TargetSource

[Visual Basic]
Public NotOverridable Sub PostProcessBeforeInstantiation( _
   ByVal objectType As Type, _
   ByVal objectName As String _
) _
    Implements IInstantiationAwareObjectPostProcessor.PostProcessBeforeInstantiation
[C#]
public object PostProcessBeforeInstantiation(
   Type objectType,
   string objectName
);

Parameters

objectType
The object type
objectName
The object name

Return Value

null if not creating a proxy, otherwise return the proxy.

Implements

IInstantiationAwareObjectPostProcessor.PostProcessBeforeInstantiation

See Also

AbstractAutoProxyCreator Class | Spring.Aop.Framework.AutoProxy Namespace