Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SchedulerFactoryObject.SchedulerContextAsMap Property

Register objects in the Scheduler context via a given Map. These objects will be available to any Job that runs in this Scheduler.

[Visual Basic]
Public Overridable WriteOnly Property SchedulerContextAsMap() As IDictionary
   Public Set
   End Set
End Property
[C#]
public virtual IDictionary SchedulerContextAsMap { public set; }

Property Value

Map with string keys and any objects as values (for example Spring-managed objects)

Remarks

Note: When using persistent Jobs whose JobDetail will be kept in the database, do not put Spring-managed object or an ApplicationContext reference into the JobDataMap but rather into the SchedulerContext.

See Also

SchedulerFactoryObject Class | Spring.Scheduling.Quartz Namespace | JobDataAsMap