Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SchedulerFactoryObject.ApplicationContext Property

Sets the IApplicationContext that this object runs in.

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

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

Property Value

Implements

IApplicationContextAware.ApplicationContext

Remarks

Normally this call will be used to initialize the object.

Invoked after population of normal object properties but before an init callback such as IInitializingObject's AfterPropertiesSet or a custom init-method. Invoked after the setting of any IResourceLoaderAware's ResourceLoader property.

Exceptions

Exception Type Condition
ApplicationContextException In the case of application context initialization errors.
ObjectsException If thrown by any application context methods.
ObjectInitializationException  

See Also

SchedulerFactoryObject Class | Spring.Scheduling.Quartz Namespace