spring-framework / org.springframework.beans.factory.xml / XmlReaderContext / getResourceLoader

getResourceLoader

@Nullable fun getResourceLoader(): ResourceLoader

Return the resource loader to use, if any.

This will be non-null in regular scenarios, also allowing access to the resource class loader.

See Also
XmlBeanDefinitionReader#setResourceLoaderResourceLoader#getClassLoader()