Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MappingHandlerFactory Members

MappingHandlerFactory overview

Public Static (Shared) Properties

HandlerMap Holds the global list of mappings from url patterns to handler names.

Public Instance Constructors

MappingHandlerFactory Constructor Initializes a new instance of the MappingHandlerFactory class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHandler (inherited from AbstractHandlerFactory) Returns an appropriate IHttpHandler implementation.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ReleaseHandlerOverloaded. Enables a factory to release an existing IHttpHandler instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

Log (inherited from AbstractHandlerFactory) Holds the shared logger for all factories.

Protected Instance Methods

CreateHandlerInstance Create a handler instance for the given URL. Will try to find a match of rawUrl onto patterns in HandlerMap. If a match is found, delegates the call to the matching GetHandler method.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetCheckedApplicationContext (inherited from AbstractHandlerFactory) Get the application context instance corresponding to the given absolute url and checks it for IConfigurableApplicationContext contract and being not null.
GetContext (inherited from AbstractHandlerFactory) Returns the unchecked, raw application context for the given virtual path.
MapHandlerInstance Obtains a handler by mapping rawUrl to the list of patterns in handlerMappings.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ReleaseHandlerOverloaded. Removes the handler from the handler/factory dictionary and releases the handler.

See Also

MappingHandlerFactory Class | Spring.Web.Support Namespace | IHttpHandlerFactory | IHttpHandler | HandlerMap | MappingHandlerFactoryConfigurer