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 .

System.Object
   ObjectReferenceFactoryObject

[Visual Basic]
<Serializable> _
Public NotInheritable Class ObjectReferenceFactoryObject
    Implements IFactoryObject, IObjectFactoryAware
[C#]
[Serializable]
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.

Remarks

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
<alias>
tag is available that effectively achieves the same.

Requirements

Namespace: Spring.Objects.Factory.Config

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

See Also

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