Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionConstants.FactoryObjectAttribute Field

Alternative to type attribute for factory-method usage.

[Visual Basic]
Public Const FactoryObjectAttribute As String = factory-object
[C#]
public const string FactoryObjectAttribute = factory-object;

Remarks

If this is specified, no type attribute should be used. This should be set to the name of an object in the current or ancestor factories that contains the relevant factory method. This allows the factory itself to be configured using Dependency Injection, and an instance (rather than static) method to be used.

See Also

ObjectDefinitionConstants Class | Spring.Objects.Factory.Xml Namespace