Registry class that allows users to register and retrieve protocol handlers.
For a list of all members of this type, see ResourceHandlerRegistry Members .
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Resource handler is an implementation of IResource interface that should be used to process resources with the specified protocol.
They are used throughout the framework to access resources from various sources. For example, application context loads object definitions from the resources that are processed using one of the registered resource handlers.
Following resource handlers are registered by default:
|config||ConfigSectionResource||Resolves the resources by loading specified configuration section from the standard .NET config file.|
|file||FileSystemResource||Resolves filesystem resources.|
|http||UrlResource||Resolves remote web resources.|
|https||UrlResource||Resolves remote web resources via HTTPS.|
|ftp||UrlResource||Resolves ftp resources.|
|assembly||AssemblyResource||Resolves resources that are embedded into an assembly.|
||Resolves resources relative to the web application's virtual directory.|
Users can create and register their own protocol handlers by implementing IResource interface and mapping custom protocol name to that implementation. See ResourceHandlersSectionHandler for details on how to register custom protocol handler.
Assembly: Spring.Core (in Spring.Core.dll)