SimplePoolTargetSource Members
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimplePoolTargetSource Members

SimplePoolTargetSource overview

Public Instance Constructors

SimplePoolTargetSource Constructor Initializes a new instance of the SimplePoolTargetSource class.

Public Instance Properties

Active The number of active object instances in this pool.
Free The number of free object instances in this pool.
IsStatic (inherited from AbstractPrototypeTargetSource) Is the target source static?
MaxSize (inherited from AbstractPoolingTargetSource) The maximum number of object instances in this pool.
ObjectFactory (inherited from AbstractPoolingTargetSource) The target factory that will be used to perform the lookup of the object referred to by the TargetObjectName property.
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

ActivateObject Reinitialize an instance to be returned by the pool.
AfterPropertiesSet (inherited from AbstractPrototypeTargetSource) Invoked by an IObjectFactory after it has set all object properties supplied (and satisfied the IObjectFactoryAware and IApplicationContextAware interfaces).
DestroyObject Destroys an instance no longer needed by the pool.
Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
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.
GetPoolingConfigMixin (inherited from AbstractPoolingTargetSource) Gets the PoolingConfig mixin.
GetTarget Returns the target object (acquired from the pool).
GetType (inherited from Object)Gets the Type of the current instance.
MakeObject Creates an instance that can be returned by the pool.
PassivateObject Passivates the object.
ReleaseTarget Releases the target object (returns it to the pool).
ToString (inherited from AbstractPrototypeTargetSource) Returns a textual representation of this target source instance. This implementation returns GetDescription
ValidateObject Ensures that the instance is safe to be returned by the pool. Returns false if this object should be destroyed.

Protected Instance Fields

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

Protected Instance Methods

CreateObjectPool Creates a new instance of an appropriate IObjectPool implementation.
CreatePool Creates the pool.
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

SimplePoolTargetSource Class | Spring.Aop.Target Namespace