Spring.Core
ConfigurableResourceLoader Class
Members  See Also  Send comments on this topic.
Spring.Core.IO Namespace : ConfigurableResourceLoader Class


Configurable implementation of the Spring.Core.IO.IResourceLoader interface.

Syntax

Visual Basic (Declaration)  
Public Class ConfigurableResourceLoader 
   Implements IResourceLoader 
Visual Basic (Usage) Copy Code
Dim instance As ConfigurableResourceLoader
C#  
public class ConfigurableResourceLoader : IResourceLoader  

Remarks

This Spring.Core.IO.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.

  • assembly
  • config
  • file
  • http
  • https

Inheritance Hierarchy

System.Object
   Spring.Core.IO.ConfigurableResourceLoader
      Spring.Context.Support.AbstractApplicationContext

Requirements

Namespace: Spring.Core.IO

Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

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

See Also

© 2011 All Rights Reserved.