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

<init>

PluggableSchemaResolver(@Nullable classLoader: ClassLoader)

Loads the schema URL -> schema file location mappings using the default mapping file pattern "META-INF/spring.schemas".

Parameters

classLoader - the ClassLoader to use for loading (can be null) to use the default ClassLoader)

See Also
PropertiesLoaderUtils#loadAllProperties(String, ClassLoader)

PluggableSchemaResolver(@Nullable classLoader: ClassLoader, schemaMappingsLocation: String)

Loads the schema URL -> schema file location mappings using the given mapping file pattern.

Parameters

classLoader - the ClassLoader to use for loading (can be null) to use the default ClassLoader)

schemaMappingsLocation - the location of the file that defines schema mappings (must not be empty)

See Also
PropertiesLoaderUtils#loadAllProperties(String, ClassLoader)