Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimplePoolTargetSource Methods

The methods of the SimplePoolTargetSource class are listed below. For a complete list of SimplePoolTargetSource class members, see the SimplePoolTargetSource Members topic.

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 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