Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPoolingTargetSource Class

Abstract superclass for pooling ITargetSources.

For a list of all members of this type, see AbstractPoolingTargetSource Members .


[Visual Basic]
<Serializable> _
Public MustInherit Class AbstractPoolingTargetSource
    Inherits AbstractPrototypeTargetSource
    Implements PoolingConfig, IDisposable, IAdvice
public abstract class AbstractPoolingTargetSource : AbstractPrototypeTargetSource, PoolingConfig, IDisposable, IAdvice

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Maintains a pool of target instances, acquiring and releasing a target object from the pool for each method invocation.

This class is independent of pooling technology.

Subclasses must implement the GetTarget and ReleaseTarget methods to work with their chosen pool. The NewPrototypeInstance method inherited from the AbstractPrototypeTargetSource base class can be used to create objects to put in the pool. Subclasses must also implement some of the monitoring methods from the PoolingConfig interface. This class provides the GetPoolingConfigMixin method to return an IIntroductionAdvisor making these statistics available on proxied objects.

This class implements the IDisposable interface in order to force subclasses to implement the Dispose method to cleanup and close down their pool.


Namespace: Spring.Aop.Target

Assembly: Spring.Aop (in Spring.Aop.dll)

See Also

AbstractPoolingTargetSource Members | Spring.Aop.Target Namespace