Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IGenericObjectFactory Interface

Interface defining a factory which can return an object instance (possibly shared or independent) when invoked.

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

[Visual Basic]
Public Interface IGenericObjectFactory
public interface IGenericObjectFactory


This interface is typically used to encapsulate a generic factory which returns a new instance (prototype) on each invocation. It is similar to the IFactoryObject, but implementations of the aforementioned interface are normally meant to be defined as instances by the user in an IObjectFactory, while implementations of this class are normally meant to be fed as a property to other objects; as such, the GetObject method has different exception handling behavior.


Namespace: Spring.Objects.Factory

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

See Also

IGenericObjectFactory Members | Spring.Objects.Factory Namespace