Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ApplicationObjectSupport.ApplicationContext Property

Gets or sets the IApplicationContext that this object runs in.

[Visual Basic]
Public Property ApplicationContext() As IApplicationContext _
    Implements IApplicationContextAware.ApplicationContext

   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public IApplicationContext ApplicationContext { public get; public set; }

Implements

IApplicationContextAware.ApplicationContext

Exceptions

Exception Type Condition
ApplicationContextException When passed an unexpected IApplicationContext implementation instance that is not compatible with the Type defined by the value of the RequiredType. property. Also, thrown when trying to re-initialize with a different IApplicationContext than was originally used.
ObjectsException If thrown by any application context methods.
ObjectInitializationException  

See Also

ApplicationObjectSupport Class | Spring.Context.Support Namespace | ApplicationContext