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 .

System.Object
   StaticListableObjectFactory

[Visual Basic]
<Serializable> _
<DefaultMember(MemberName:="Item")> _
Public Class StaticListableObjectFactory
    Implements IListableObjectFactory, IObjectFactory, IDisposable
[C#]
[Serializable]
[DefaultMember(MemberName="Item")]
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.

Remarks

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.

Requirements

Namespace: Spring.Objects.Factory.Support

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

See Also

StaticListableObjectFactory Members | Spring.Objects.Factory.Support Namespace