Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionConstants.ScopeAttribute Field

Controls object scope. Only applicable to ASP.NET web applications.

[Visual Basic]
Public Const ScopeAttribute As String = scope
public const string ScopeAttribute = scope;


Scope can be defined as either application, session or request. It defines when "singleton" instances are initialized, but has no effect on prototype definitions.

See Also

ObjectDefinitionConstants Class | Spring.Objects.Factory.Xml Namespace