Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConfigurableResourceLoader Class

Configurable implementation of the IResourceLoader interface.

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

System.Object
   ConfigurableResourceLoader
      AbstractApplicationContext

[Visual Basic]
Public Class ConfigurableResourceLoader
    Implements IResourceLoader
[C#]
public class ConfigurableResourceLoader : IResourceLoader

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This IResourceLoader implementation supports the configuration of resource access protocols and the corresponding .NET types that know how to handle those protocols.

Basic protocol-to-resource type mappings are also defined by this class, while others can be added either internally, by application contexts extending this class, or externally, by the end user configuring the context.

Only one resource type can be defined for each protocol, but multiple protocols can map to the same resource type (for example, the "http" and "ftp" protocols both map to the UrlResource type. The protocols that are mapped by default can be found in the following list.

Requirements

Namespace: Spring.Core.IO

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

See Also

ConfigurableResourceLoader Members | Spring.Core.IO Namespace | IResource | ResourceConverter | IApplicationContext