Uses of Interface
org.springframework.core.io.ResourceLoader
Packages that use ResourceLoader
Package
Description
Classes supporting the
org.springframework.beans.factory package.Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD.Classes supporting the org.springframework.beans package,
such as utility classes for sorting and holding lists of beans.
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Generic abstraction for (file-based) resources, used throughout the framework.
Support classes for Spring's resource abstraction.
Support classes for reading annotation and class-level metadata.
Defines the Spring JDBC configuration namespace.
Provides extensible support for creating embedded database instances.
A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with
Spring's Web MVC framework.
Package providing integration of
Hibernate 5.x
with Spring concepts.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
Internal support for managing JPA persistence units.
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
Support classes for Spring's scripting package.
Support classes for the Spring TestContext Framework.
Common utilities used within the Spring TestContext Framework.
Support classes for setting up
FreeMarker
within a Spring application context.
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes.Spring WebFlux configuration infrastructure.
Support classes for serving static resources.
-
Uses of ResourceLoader in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support that return ResourceLoaderModifier and TypeMethodDescriptionAbstractBeanDefinitionReader.getResourceLoader()BeanDefinitionReader.getResourceLoader()Return theResourceLoaderto use for resource locations.Methods in org.springframework.beans.factory.support with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidAbstractBeanDefinitionReader.setResourceLoader(ResourceLoader resourceLoader) Set the ResourceLoader to use for resource locations. -
Uses of ResourceLoader in org.springframework.beans.factory.xml
Methods in org.springframework.beans.factory.xml that return ResourceLoaderModifier and TypeMethodDescriptionfinal ResourceLoaderXmlReaderContext.getResourceLoader()Return the resource loader to use, if any.Constructors in org.springframework.beans.factory.xml with parameters of type ResourceLoaderModifierConstructorDescriptionResourceEntityResolver(ResourceLoader resourceLoader) Create a ResourceEntityResolver for the specified ResourceLoader (usually, an ApplicationContext). -
Uses of ResourceLoader in org.springframework.beans.support
Constructors in org.springframework.beans.support with parameters of type ResourceLoaderModifierConstructorDescriptionResourceEditorRegistrar(ResourceLoader resourceLoader, PropertyResolver propertyResolver) Create a new ResourceEditorRegistrar for the givenResourceLoaderandPropertyResolver. -
Uses of ResourceLoader in org.springframework.context
Subinterfaces of ResourceLoader in org.springframework.contextModifier and TypeInterfaceDescriptioninterfaceCentral interface to provide configuration for an application.interfaceSPI interface to be implemented by most if not all application contexts.Methods in org.springframework.context with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidResourceLoaderAware.setResourceLoader(ResourceLoader resourceLoader) Set the ResourceLoader that this object runs in. -
Uses of ResourceLoader in org.springframework.context.annotation
Classes in org.springframework.context.annotation that implement ResourceLoaderModifier and TypeClassDescriptionclassStandalone application context, accepting component classes as input — in particular@Configuration-annotated classes, but also plain@Componenttypes and JSR-330 compliant classes usingjakarta.injectannotations.Methods in org.springframework.context.annotation that return ResourceLoaderModifier and TypeMethodDescriptionfinal ResourceLoaderClassPathScanningCandidateComponentProvider.getResourceLoader()Return the ResourceLoader that this component provider uses.ConditionContext.getResourceLoader()Return theResourceLoadercurrently being used.Methods in org.springframework.context.annotation with parameters of type ResourceLoaderModifier and TypeMethodDescriptionstatic List<TypeFilter>TypeFilterUtils.createTypeFiltersFor(AnnotationAttributes filterAttributes, Environment environment, ResourceLoader resourceLoader, BeanDefinitionRegistry registry) Create type filters from the suppliedAnnotationAttributes, such as those sourced fromComponentScan.includeFilters()orComponentScan.excludeFilters().voidClassPathScanningCandidateComponentProvider.setResourceLoader(ResourceLoader resourceLoader) Set theResourceLoaderto use for resource locations.voidConfigurationClassPostProcessor.setResourceLoader(ResourceLoader resourceLoader) Constructors in org.springframework.context.annotation with parameters of type ResourceLoaderModifierConstructorDescriptionClassPathBeanDefinitionScanner(BeanDefinitionRegistry registry, boolean useDefaultFilters, Environment environment, ResourceLoader resourceLoader) Create a newClassPathBeanDefinitionScannerfor the given bean factory and using the givenEnvironmentwhen evaluating bean definition profile metadata. -
Uses of ResourceLoader in org.springframework.context.support
Classes in org.springframework.context.support that implement ResourceLoaderModifier and TypeClassDescriptionclassAbstract implementation of theApplicationContextinterface.classBase class forApplicationContextimplementations which are supposed to support multiple calls toAbstractApplicationContext.refresh(), creating a new internal bean factory instance every time.classAbstractRefreshableApplicationContextsubclass that adds common handling of specified config locations.classConvenient base class forApplicationContextimplementations, drawing configuration from XML documents containing bean definitions understood by anXmlBeanDefinitionReader.classStandalone XML application context, taking the context definition files from the class path, interpreting plain paths as class path resource names that include the package path (e.g.classStandalone XML application context, taking the context definition files from the file system or from URLs, interpreting plain paths as relative file system locations (e.g.classGeneric ApplicationContext implementation that holds a single internalDefaultListableBeanFactoryinstance and does not assume a specific bean definition format.classAnApplicationContextimplementation that extendsGenericApplicationContextand implementsGroovyObjectsuch that beans can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(java.lang.String).classConvenient application context with built-in XML support.classApplicationContextimplementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.Methods in org.springframework.context.support with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidGenericApplicationContext.setResourceLoader(ResourceLoader resourceLoader) Set a ResourceLoader to use for this context.voidReloadableResourceBundleMessageSource.setResourceLoader(ResourceLoader resourceLoader) Set the ResourceLoader to use for loading bundle properties files. -
Uses of ResourceLoader in org.springframework.core.io
Classes in org.springframework.core.io that implement ResourceLoaderModifier and TypeClassDescriptionclassResourceLoaderimplementation that interprets plain resource paths as relative to a givenjava.lang.Class.classDefault implementation of theResourceLoaderinterface.classResourceLoaderimplementation that resolves plain paths as file system resources rather than as class path resources (the latter isDefaultResourceLoader's default strategy).Methods in org.springframework.core.io with parameters of type ResourceLoaderModifier and TypeMethodDescriptionProtocolResolver.resolve(String location, ResourceLoader resourceLoader) Resolve the given location against the given resource loader if this implementation's protocol matches.Constructors in org.springframework.core.io with parameters of type ResourceLoaderModifierConstructorDescriptionResourceEditor(ResourceLoader resourceLoader, PropertyResolver propertyResolver) Create a new instance of theResourceEditorclass using the givenResourceLoaderandPropertyResolver.ResourceEditor(ResourceLoader resourceLoader, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders) Create a new instance of theResourceEditorclass using the givenResourceLoader. -
Uses of ResourceLoader in org.springframework.core.io.support
Subinterfaces of ResourceLoader in org.springframework.core.io.supportModifier and TypeInterfaceDescriptioninterfaceStrategy interface for resolving a location pattern (for example, an Ant-style path pattern) intoResourceobjects.Classes in org.springframework.core.io.support that implement ResourceLoaderModifier and TypeClassDescriptionclassAResourcePatternResolverimplementation that is able to resolve a specified resource location path into one or more matching Resources.Methods in org.springframework.core.io.support that return ResourceLoaderModifier and TypeMethodDescriptionPathMatchingResourcePatternResolver.getResourceLoader()Return the ResourceLoader that this pattern resolver works with.Methods in org.springframework.core.io.support with parameters of type ResourceLoaderModifier and TypeMethodDescriptionstatic ResourcePatternResolverResourcePatternUtils.getResourcePatternResolver(ResourceLoader resourceLoader) Return a defaultResourcePatternResolverfor the givenResourceLoader.Constructors in org.springframework.core.io.support with parameters of type ResourceLoaderModifierConstructorDescriptionLocalizedResourceHelper(ResourceLoader resourceLoader) Create a new LocalizedResourceHelper with the given ResourceLoader.PathMatchingResourcePatternResolver(ResourceLoader resourceLoader) Create a new PathMatchingResourcePatternResolver. -
Uses of ResourceLoader in org.springframework.core.type.classreading
Methods in org.springframework.core.type.classreading that return ResourceLoaderModifier and TypeMethodDescriptionfinal ResourceLoaderSimpleMetadataReaderFactory.getResourceLoader()Return the ResourceLoader that this MetadataReaderFactory has been constructed with.Constructors in org.springframework.core.type.classreading with parameters of type ResourceLoaderModifierConstructorDescriptionCachingMetadataReaderFactory(ResourceLoader resourceLoader) Create a new CachingMetadataReaderFactory for the givenResourceLoader, using a shared resource cache if supported or a local resource cache otherwise.SimpleMetadataReaderFactory(ResourceLoader resourceLoader) Create a new SimpleMetadataReaderFactory for the given resource loader. -
Uses of ResourceLoader in org.springframework.jdbc.config
Methods in org.springframework.jdbc.config with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidSortedResourcesFactoryBean.setResourceLoader(ResourceLoader resourceLoader) Constructors in org.springframework.jdbc.config with parameters of type ResourceLoaderModifierConstructorDescriptionSortedResourcesFactoryBean(ResourceLoader resourceLoader, List<String> locations) -
Uses of ResourceLoader in org.springframework.jdbc.datasource.embedded
Constructors in org.springframework.jdbc.datasource.embedded with parameters of type ResourceLoaderModifierConstructorDescriptionEmbeddedDatabaseBuilder(ResourceLoader resourceLoader) Create a new embedded database builder with the givenResourceLoader. -
Uses of ResourceLoader in org.springframework.mock.web
Constructors in org.springframework.mock.web with parameters of type ResourceLoaderModifierConstructorDescriptionMockServletContext(String resourceBasePath, ResourceLoader resourceLoader) Create a newMockServletContextusing the supplied resource base path and resource loader.MockServletContext(ResourceLoader resourceLoader) Create a newMockServletContext, using the specifiedResourceLoaderand no base path. -
Uses of ResourceLoader in org.springframework.orm.hibernate5
Methods in org.springframework.orm.hibernate5 that return ResourceLoaderModifier and TypeMethodDescriptionLocalSessionFactoryBean.getResourceLoader()Determine the SpringResourceLoaderto use for Hibernate metadata.Methods in org.springframework.orm.hibernate5 with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidLocalSessionFactoryBean.setResourceLoader(ResourceLoader resourceLoader) Specify a SpringResourceLoaderto use for Hibernate metadata.Constructors in org.springframework.orm.hibernate5 with parameters of type ResourceLoaderModifierConstructorDescriptionLocalSessionFactoryBuilder(DataSource dataSource, ResourceLoader resourceLoader) Create a new LocalSessionFactoryBuilder for the given DataSource.LocalSessionFactoryBuilder(DataSource dataSource, ResourceLoader resourceLoader, org.hibernate.boot.MetadataSources metadataSources) Create a new LocalSessionFactoryBuilder for the given DataSource. -
Uses of ResourceLoader in org.springframework.orm.jpa
Methods in org.springframework.orm.jpa with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidLocalContainerEntityManagerFactoryBean.setResourceLoader(ResourceLoader resourceLoader) -
Uses of ResourceLoader in org.springframework.orm.jpa.persistenceunit
Methods in org.springframework.orm.jpa.persistenceunit with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidDefaultPersistenceUnitManager.setResourceLoader(ResourceLoader resourceLoader) -
Uses of ResourceLoader in org.springframework.scheduling.quartz
Fields in org.springframework.scheduling.quartz declared as ResourceLoaderMethods in org.springframework.scheduling.quartz that return ResourceLoaderModifier and TypeMethodDescriptionstatic ResourceLoaderSchedulerFactoryBean.getConfigTimeResourceLoader()Return theResourceLoaderfor the currently configured Quartz Scheduler, to be used byResourceLoaderClassLoadHelper.Methods in org.springframework.scheduling.quartz with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidSchedulerAccessor.setResourceLoader(ResourceLoader resourceLoader) Constructors in org.springframework.scheduling.quartz with parameters of type ResourceLoaderModifierConstructorDescriptionResourceLoaderClassLoadHelper(ResourceLoader resourceLoader) Create a new ResourceLoaderClassLoadHelper for the given ResourceLoader. -
Uses of ResourceLoader in org.springframework.scripting.support
Methods in org.springframework.scripting.support with parameters of type ResourceLoaderModifier and TypeMethodDescriptionprotected ScriptSourceScriptFactoryPostProcessor.convertToScriptSource(String beanName, String scriptSourceLocator, ResourceLoader resourceLoader) Convert the given script source locator to a ScriptSource instance.voidScriptFactoryPostProcessor.setResourceLoader(ResourceLoader resourceLoader) -
Uses of ResourceLoader in org.springframework.test.context.support
Methods in org.springframework.test.context.support with parameters of type ResourceLoaderModifier and TypeMethodDescriptionstatic voidTestPropertySourceUtils.addPropertiesFilesToEnvironment(ConfigurableEnvironment environment, ResourceLoader resourceLoader, String... locations) -
Uses of ResourceLoader in org.springframework.test.context.util
Methods in org.springframework.test.context.util with parameters of type ResourceLoaderModifier and TypeMethodDescriptionTestContextResourceUtils.convertToResourceList(ResourceLoader resourceLoader, String... paths) Convert the supplied paths to a list ofResourcehandles using the givenResourceLoader.static Resource[]TestContextResourceUtils.convertToResources(ResourceLoader resourceLoader, String... paths) Convert the supplied paths to an array ofResourcehandles using the givenResourceLoader. -
Uses of ResourceLoader in org.springframework.ui.freemarker
Methods in org.springframework.ui.freemarker that return ResourceLoaderModifier and TypeMethodDescriptionprotected ResourceLoaderFreeMarkerConfigurationFactory.getResourceLoader()Return the Spring ResourceLoader to use for loading FreeMarker template files.Methods in org.springframework.ui.freemarker with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidFreeMarkerConfigurationFactory.setResourceLoader(ResourceLoader resourceLoader) Set the Spring ResourceLoader to use for loading FreeMarker template files.Constructors in org.springframework.ui.freemarker with parameters of type ResourceLoaderModifierConstructorDescriptionSpringTemplateLoader(ResourceLoader resourceLoader, String templateLoaderPath) Create a new SpringTemplateLoader. -
Uses of ResourceLoader in org.springframework.web.context
Subinterfaces of ResourceLoader in org.springframework.web.contextModifier and TypeInterfaceDescriptioninterfaceInterface to be implemented by configurable web application contexts.interfaceInterface to provide configuration for a web application. -
Uses of ResourceLoader in org.springframework.web.context.support
Classes in org.springframework.web.context.support that implement ResourceLoaderModifier and TypeClassDescriptionclassAbstractRefreshableApplicationContextsubclass which implements theConfigurableWebApplicationContextinterface for web environments.classWebApplicationContextimplementation which accepts component classes as input — in particular@Configurationclasses, but also plain@Componentclasses as well as JSR-330 compliant classes usingjakarta.injectannotations.classSubclass ofGenericApplicationContext, suitable for web environments.classWebApplicationContextimplementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by aGroovyBeanDefinitionReader.classResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext (for example, in an HttpServletBean or GenericFilterBean subclass).classServletContext-aware subclass ofPathMatchingResourcePatternResolver, able to find matching resources below the web application root directory viaServletContext.getResourcePaths(java.lang.String).classStaticWebApplicationContextimplementation for testing.classWebApplicationContextimplementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader.Constructors in org.springframework.web.context.support with parameters of type ResourceLoaderModifierConstructorDescriptionServletContextResourcePatternResolver(ResourceLoader resourceLoader) Create a new ServletContextResourcePatternResolver. -
Uses of ResourceLoader in org.springframework.web.reactive.config
Constructors in org.springframework.web.reactive.config with parameters of type ResourceLoaderModifierConstructorDescriptionResourceHandlerRegistration(ResourceLoader resourceLoader, String... pathPatterns) Create aResourceHandlerRegistrationinstance.ResourceHandlerRegistry(ResourceLoader resourceLoader) Create a new resource handler registry for the given resource loader (typically an application context). -
Uses of ResourceLoader in org.springframework.web.reactive.resource
Methods in org.springframework.web.reactive.resource with parameters of type ResourceLoaderModifier and TypeMethodDescriptionvoidResourceWebHandler.setResourceLoader(ResourceLoader resourceLoader) Provide the ResourceLoader to loadlocation valueswith.