Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ThreadLocalTargetSource Members

ThreadLocalTargetSource overview

Public Instance Constructors

ThreadLocalTargetSource Constructor Initializes a new instance of the ThreadLocalTargetSource class.

Public Instance Properties

Hits Gets the number of hits that were satisfied by a thread bound object.
Invocations Gets the number of invocations of the GetTarget and Invoke methods.
IsStatic (inherited from AbstractPrototypeTargetSource) Is the target source static?
ObjectFactory (inherited from AbstractPrototypeTargetSource) The target factory that will be used to perform the lookup of the object referred to by the TargetObjectName property.
Objects Gets the number of thread bound objects created.
TargetObjectName (inherited from AbstractPrototypeTargetSource) The name of the target object to be created on each invocation.
TargetType (inherited from AbstractPrototypeTargetSource) The Type of the target object.

Public Instance Methods

AfterPropertiesSet (inherited from AbstractPrototypeTargetSource) Invoked by an IObjectFactory after it has set all object properties supplied (and satisfied the IObjectFactoryAware and IApplicationContextAware interfaces).
Dispose Cleans up this instance's thread storage, and disposes of any IDisposable targets as necessary.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetStatsMixin Return an introduction advisor mixin that allows the AOP proxy to be cast to an IThreadLocalTargetSourceStats reference.
GetTarget Returns the target object.
GetType (inherited from Object)Gets the Type of the current instance.
Invoke Increments Invocations and Hits statistics
ReleaseTarget (inherited from AbstractPrototypeTargetSource) Releases the target object.
ToString (inherited from AbstractPrototypeTargetSource) Returns a textual representation of this target source instance. This implementation returns GetDescription

Protected Instance Fields

logger (inherited from AbstractPrototypeTargetSource) The shared ILog instance for this class (and derived classes).

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetDescription (inherited from AbstractPrototypeTargetSource) Returns a textual representation of this target source instance
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
NewPrototypeInstance (inherited from AbstractPrototypeTargetSource) Subclasses should use this method to create a new prototype instance.

See Also

ThreadLocalTargetSource Class | Spring.Aop.Target Namespace