Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertiesObjectDefinitionReader.SingletonKey Field

Special string added to distinguish if the object will be a singleton.

[Visual Basic]
Public Const SingletonKey As String = (singleton)
[C#]
public const string SingletonKey = (singleton);

Remarks

Default is true.

Example

owner.(singleton)=true

See Also

PropertiesObjectDefinitionReader Class | Spring.Objects.Factory.Support Namespace