Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimplePoolTargetSource.CreateObjectPool Method

Creates a new instance of an appropriate IObjectPool implementation.

[Visual Basic]
Protected Overridable Sub CreateObjectPool()
[C#]
protected virtual IObjectPool CreateObjectPool();

Return Value

An empty IObjectPool.

Remarks

Subclasses can, of course, override this method if they want to return a different IObjectPool implementation.

See Also

SimplePoolTargetSource Class | Spring.Aop.Target Namespace