Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ITargetSource Interface

Used to obtain the current "target" of an AOP invocation

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

[Visual Basic]
Public Interface ITargetSource
[C#]
public interface ITargetSource

Types that implement ITargetSource

Type Description
AbstractPoolingTargetSource Abstract superclass for pooling ITargetSources.
AbstractPrototypeTargetSource Base class for dynamic ITargetSource implementations that can create new prototype object instances to support a pooling or new-instance-per-invocation strategy.
EmptyTargetSource The ITargetSource to be used when there is no target object, and behavior is supplied by the advisors.
HotSwappableTargetSource ITargetSource implementation that caches a local target object, but allows the target to be swapped while the application is running
PrototypeTargetSource ITargetSource implementation that creates a new instance of the target object for each request.
SimplePoolTargetSource Pooling target source implementation based on the SimplePool
SingletonTargetSource ITargetSource implementation that holds a local object.
ThreadLocalTargetSource ITargetSource implementation that uses a threading model in which every thread has its own copy of the target.
LazyInitializer Missing <summary> documentation for T:Spring.Data.NHibernate.Bytecode.LazyInitializer

Remarks

This target will be invoked via reflection if no around advice chooses to end the interceptor chain itself.

If an ITargetSource is "static", it will always return the same target, allowing optimizations in the AOP framework. Dynamic target sources can support pooling, hot swapping etc.

Application developers don't usually need to work with target sources directly: this is an AOP framework interface.

Requirements

Namespace: Spring.Aop

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

See Also

ITargetSource Members | Spring.Aop Namespace