Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ProxyConfig.Optimize Property

Are any agressive optimizations to be performed?

[Visual Basic]
Public Overridable Property Optimize() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public virtual bool Optimize { public get; public set; }

Remarks

The exact meaning of agressive optimizations will differ between proxies, but there is usually some tradeoff.

For example, optimization will usually mean that advice changes won't take effect after a proxy has been created. For this reason, optimization is disabled by default. An optimize value of true may be ignored if other settings preclude optimization: for example, if the ExposeProxy property is set to true and such a value is not compatible with the optimization.

The default is false.

See Also

ProxyConfig Class | Spring.Aop.Framework Namespace