spring-framework / org.springframework.beans.factory.xml / DefaultNamespaceHandlerResolver / <init>

<init>

DefaultNamespaceHandlerResolver()

Create a new DefaultNamespaceHandlerResolver using the default mapping file location.

This constructor will result in the thread context ClassLoader being used to load resources.

See Also
#DEFAULT_HANDLER_MAPPINGS_LOCATION

DefaultNamespaceHandlerResolver(@Nullable classLoader: ClassLoader)

Create a new DefaultNamespaceHandlerResolver using the default mapping file location.

Parameters

classLoader - the ClassLoader instance used to load mapping resources (may be null, in which case the thread context ClassLoader will be used)

See Also
#DEFAULT_HANDLER_MAPPINGS_LOCATION

DefaultNamespaceHandlerResolver(@Nullable classLoader: ClassLoader, handlerMappingsLocation: String)

Create a new DefaultNamespaceHandlerResolver using the supplied mapping file location.

Parameters

classLoader - the ClassLoader instance used to load mapping resources may be null, in which case the thread context ClassLoader will be used)

handlerMappingsLocation - the mapping file location