Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ResourceHandlerRegistry.GetResourceHandler Method

Returns resource handler for the specified protocol name.

[Visual Basic]
Public Shared Sub GetResourceHandler( _
   ByVal protocolName As String _
public static IDynamicConstructor GetResourceHandler(
   string protocolName


Name of the protocol to get the handler for.

Return Value

Resource handler constructor for the specified protocol name.


This method returns ConstructorInfo object that should be used to create an instance of the IResource-derived type by passing resource location as a parameter.


Exception Type Condition
ArgumentNullException If protocolName is null.

See Also

ResourceHandlerRegistry Class | Spring.Core.IO Namespace