Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectReferenceFactoryObject Class

An IFactoryObject implementation that exposes an arbitrary target object under a different name.

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


[Visual Basic]
<Serializable> _
Public NotInheritable Class ObjectReferenceFactoryObject
    Implements IFactoryObject, IObjectFactoryAware
public sealed class ObjectReferenceFactoryObject : IFactoryObject, IObjectFactoryAware

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.


Usually, the target object will reside in a different object definition file, using this IFactoryObject to link it in and expose it under a different name. Effectively, this corresponds to an alias for the target object.

Note    For XML based object definition files, a
tag is available that effectively achieves the same.


Namespace: Spring.Objects.Factory.Config

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

See Also

ObjectReferenceFactoryObject Members | Spring.Objects.Factory.Config Namespace | IFactoryObject