Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IResourceLoaderAware Interface

Interface to be implemented by any object that wishes to be notified of the IResourceLoader (typically the IApplicationContext) that it runs in.

For a list of all members of this type, see IResourceLoaderAware Members .

[Visual Basic]
Public Interface IResourceLoaderAware
[C#]
public interface IResourceLoaderAware

Types that implement IResourceLoaderAware

Type Description
ResourceJobSchedulingDataProcessor Subclass of Quartz' JobSchedulingDataProcessor that considers given filenames as Spring resource locations.
SchedulerAccessor Common base class for accessing a Quartz Scheduler, i.e. for registering jobs, triggers and listeners on a IScheduler instance.
SchedulerAccessorObject Spring class for accessing a Quartz Scheduler, i.e. for registering jobs, triggers and listeners on a given IScheduler instance.
SchedulerFactoryObject FactoryObject that sets up a Quartz Scheduler and exposes it for object references.
VelocityEngineFactoryObject FactoryObject implementation that configures a VelocityEngine and provides it as an object reference. This object is intended for any kind of usage of Velocity in application code, e.g. for generating email content. See the base class VelocityEngineFactory for configuration details.

Remarks

Note that IResource dependencies can also be exposed as object properties of type IResource, populated via strings with automatic type conversion by the object factory. This obviates the need for implementing any callback interface just for the purpose of accessing a specific resource.

You typically need an IResourceLoader when your application object has to access a variety of file resources whose names are calculated. A good strategy is to make the object use a default resource loader but still implement the IResourceLoaderAware interface to allow for overriding when running in an IApplicationContext.

Requirements

Namespace: Spring.Context

Assembly: Spring.Core (in Spring.Core.dll)

See Also

IResourceLoaderAware Members | Spring.Context Namespace