Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticListableObjectFactory Class

Static factory that permits the registration of existing singleton instances.

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


[Visual Basic]
<Serializable> _
<DefaultMember(MemberName:="Item")> _
Public Class StaticListableObjectFactory
    Implements IListableObjectFactory, IObjectFactory, IDisposable
public class StaticListableObjectFactory : IListableObjectFactory, IObjectFactory, IDisposable

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.


Does not have support for prototype objects, aliases, and post startup object configuration.

Serves as a simple example implementation of the IListableObjectFactory interface, that manages existing object instances as opposed to creating new ones based on object definitions.

The ConfigureObject method is not supported by this class; this class deals exclusively with existing singleton instances, thus the methods mentioned previously make little sense in this context.


Namespace: Spring.Objects.Factory.Support

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

See Also

StaticListableObjectFactory Members | Spring.Objects.Factory.Support Namespace