Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultListableObjectFactory Class

Concrete implementation of the IListableObjectFactory and IObjectDefinitionRegistry interfaces.

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


[Visual Basic]
<Serializable> _
<DefaultMember(MemberName:="Item")> _
Public Class DefaultListableObjectFactory
    Inherits AbstractAutowireCapableObjectFactory
    Implements IConfigurableListableObjectFactory, IListableObjectFactory, IObjectDefinitionRegistry
public class DefaultListableObjectFactory : AbstractAutowireCapableObjectFactory, IConfigurableListableObjectFactory, IListableObjectFactory, IObjectDefinitionRegistry

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


This class is a full-fledged object factory based on object definitions that is usable straight out of the box.

Can be used as an object factory in and of itself, or as a superclass for custom object factory implementations. Note that readers for specific object definition formats are typically implemented separately rather than as object factory subclasses.

For an alternative implementation of the IListableObjectFactory interface, have a look at the StaticListableObjectFactory class, which manages existing object instances rather than creating new ones based on object definitions.


Namespace: Spring.Objects.Factory.Support

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

See Also

DefaultListableObjectFactory Members | Spring.Objects.Factory.Support Namespace | XmlObjectDefinitionReader