Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.ProxyFactory Property

Gets or sets the proxy factory.

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

Property Value

The proxy factory.

Remarks

This may be useful to set if you create many instances of HibernateTemplate and/or HibernateDaoSupport. This allows the same ProxyFactory implementation to be used thereby limiting the number of dynamic proxy types created in the temporary assembly, which are never garbage collected due to .NET runtime semantics.

See Also

HibernateTemplate Class | Spring.Data.NHibernate Namespace