Uses of Interface
org.springframework.core.io.ResourceLoader
Packages that use ResourceLoader Package Description org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
implementation, including a standard "spring-beans" XSD.org.springframework.beans.support Classes supporting the org.springframework.beans package, such as utility classes for sorting and holding lists of beans.org.springframework.context 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.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.org.springframework.core.io Generic abstraction for (file-based) resources, used throughout the framework.org.springframework.core.io.support Support classes for Spring's resource abstraction.org.springframework.core.type.classreading Support classes for reading annotation and class-level metadata.org.springframework.jca.context Integration package that allows for deploying a Spring application context as a JCA 1.7 compliant RAR file.org.springframework.jdbc.config Defines the Spring JDBC configuration namespace.org.springframework.jdbc.datasource.embedded Provides extensible support for creating embedded database instances.org.springframework.mock.web A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with Spring's Web MVC framework.org.springframework.orm.hibernate5 Package providing integration of Hibernate 5.x with Spring concepts.org.springframework.orm.jpa Package providing integration of JPA (Java Persistence API) with Spring concepts.org.springframework.orm.jpa.persistenceunit Internal support for managing JPA persistence units.org.springframework.scheduling.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.org.springframework.scripting.support Support classes for Spring's scripting package.org.springframework.test.context.support Support classes for the Spring TestContext Framework.org.springframework.test.context.util Common utilities used within the Spring TestContext Framework.org.springframework.ui.freemarker Support classes for setting up FreeMarker within a Spring application context.org.springframework.web.context Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context.org.springframework.web.context.support Classes supporting theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.org.springframework.web.reactive.resource Support classes for serving static resources.Uses of ResourceLoader in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support that return ResourceLoader Modifier and Type Method Description ResourceLoader
AbstractBeanDefinitionReader. getResourceLoader()
ResourceLoader
BeanDefinitionReader. getResourceLoader()
Return the resource loader to use for resource locations.Methods in org.springframework.beans.factory.support with parameters of type ResourceLoader Modifier and Type Method Description void
AbstractBeanDefinitionReader. 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 ResourceLoader Modifier and Type Method Description ResourceLoader
XmlReaderContext. getResourceLoader()
Return the resource loader to use, if any.Constructors in org.springframework.beans.factory.xml with parameters of type ResourceLoader Constructor Description ResourceEntityResolver(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 ResourceLoader Constructor Description ResourceEditorRegistrar(ResourceLoader resourceLoader, PropertyResolver propertyResolver)
Create a new ResourceEditorRegistrar for the givenResourceLoader
andPropertyResolver
.Uses of ResourceLoader in org.springframework.context
Subinterfaces of ResourceLoader in org.springframework.context Modifier and Type Interface Description interface
ApplicationContext
Central interface to provide configuration for an application.interface
ConfigurableApplicationContext
SPI interface to be implemented by most if not all application contexts.Methods in org.springframework.context with parameters of type ResourceLoader Modifier and Type Method Description void
ResourceLoaderAware. 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 ResourceLoader Modifier and Type Class Description class
AnnotationConfigApplicationContext
Standalone application context, accepting component classes as input — in particular@Configuration
-annotated classes, but also plain@Component
types and JSR-330 compliant classes usingjavax.inject
annotations.Methods in org.springframework.context.annotation that return ResourceLoader Modifier and Type Method Description ResourceLoader
ClassPathScanningCandidateComponentProvider. getResourceLoader()
Return the ResourceLoader that this component provider uses.ResourceLoader
ConditionContext. getResourceLoader()
Return theResourceLoader
currently being used.Methods in org.springframework.context.annotation with parameters of type ResourceLoader Modifier and Type Method Description void
ClassPathScanningCandidateComponentProvider. setResourceLoader(ResourceLoader resourceLoader)
Set theResourceLoader
to use for resource locations.void
ConfigurationClassPostProcessor. setResourceLoader(ResourceLoader resourceLoader)
Constructors in org.springframework.context.annotation with parameters of type ResourceLoader Constructor Description ClassPathBeanDefinitionScanner(BeanDefinitionRegistry registry, boolean useDefaultFilters, Environment environment, ResourceLoader resourceLoader)
Create a newClassPathBeanDefinitionScanner
for the given bean factory and using the givenEnvironment
when evaluating bean definition profile metadata.Uses of ResourceLoader in org.springframework.context.support
Classes in org.springframework.context.support that implement ResourceLoader Modifier and Type Class Description class
AbstractApplicationContext
Abstract implementation of theApplicationContext
interface.class
AbstractRefreshableApplicationContext
Base class forApplicationContext
implementations which are supposed to support multiple calls toAbstractApplicationContext.refresh()
, creating a new internal bean factory instance every time.class
AbstractRefreshableConfigApplicationContext
AbstractRefreshableApplicationContext
subclass that adds common handling of specified config locations.class
AbstractXmlApplicationContext
Convenient base class forApplicationContext
implementations, drawing configuration from XML documents containing bean definitions understood by anXmlBeanDefinitionReader
.class
ClassPathXmlApplicationContext
Standalone 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.class
FileSystemXmlApplicationContext
Standalone 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.class
GenericApplicationContext
Generic ApplicationContext implementation that holds a single internalDefaultListableBeanFactory
instance and does not assume a specific bean definition format.class
GenericGroovyApplicationContext
AnApplicationContext
implementation that extendsGenericApplicationContext
and implementsGroovyObject
such that beans can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(java.lang.String)
.class
GenericXmlApplicationContext
Convenient application context with built-in XML support.class
StaticApplicationContext
ApplicationContext
implementation 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 ResourceLoader Modifier and Type Method Description void
GenericApplicationContext. setResourceLoader(ResourceLoader resourceLoader)
Set a ResourceLoader to use for this context.void
ReloadableResourceBundleMessageSource. 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 ResourceLoader Modifier and Type Class Description class
ClassRelativeResourceLoader
ResourceLoader
implementation that interprets plain resource paths as relative to a givenjava.lang.Class
.class
DefaultResourceLoader
Default implementation of theResourceLoader
interface.class
FileSystemResourceLoader
ResourceLoader
implementation 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 ResourceLoader Modifier and Type Method Description Resource
ProtocolResolver. 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 ResourceLoader Constructor Description ResourceEditor(ResourceLoader resourceLoader, PropertyResolver propertyResolver)
Create a new instance of theResourceEditor
class using the givenResourceLoader
andPropertyResolver
.ResourceEditor(ResourceLoader resourceLoader, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders)
Create a new instance of theResourceEditor
class using the givenResourceLoader
.Uses of ResourceLoader in org.springframework.core.io.support
Subinterfaces of ResourceLoader in org.springframework.core.io.support Modifier and Type Interface Description interface
ResourcePatternResolver
Strategy interface for resolving a location pattern (for example, an Ant-style path pattern) into Resource objects.Classes in org.springframework.core.io.support that implement ResourceLoader Modifier and Type Class Description class
PathMatchingResourcePatternResolver
AResourcePatternResolver
implementation 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 ResourceLoader Modifier and Type Method Description ResourceLoader
PathMatchingResourcePatternResolver. getResourceLoader()
Return the ResourceLoader that this pattern resolver works with.Methods in org.springframework.core.io.support with parameters of type ResourceLoader Modifier and Type Method Description static ResourcePatternResolver
ResourcePatternUtils. getResourcePatternResolver(ResourceLoader resourceLoader)
Return a defaultResourcePatternResolver
for the givenResourceLoader
.Constructors in org.springframework.core.io.support with parameters of type ResourceLoader Constructor Description LocalizedResourceHelper(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 ResourceLoader Modifier and Type Method Description ResourceLoader
SimpleMetadataReaderFactory. getResourceLoader()
Return the ResourceLoader that this MetadataReaderFactory has been constructed with.Constructors in org.springframework.core.type.classreading with parameters of type ResourceLoader Constructor Description CachingMetadataReaderFactory(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.jca.context
Classes in org.springframework.jca.context that implement ResourceLoader Modifier and Type Class Description class
ResourceAdapterApplicationContext
ApplicationContext
implementation for a JCA ResourceAdapter.Uses of ResourceLoader in org.springframework.jdbc.config
Methods in org.springframework.jdbc.config with parameters of type ResourceLoader Modifier and Type Method Description void
SortedResourcesFactoryBean. setResourceLoader(ResourceLoader resourceLoader)
Constructors in org.springframework.jdbc.config with parameters of type ResourceLoader Constructor Description SortedResourcesFactoryBean(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 ResourceLoader Constructor Description EmbeddedDatabaseBuilder(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 ResourceLoader Constructor Description MockServletContext(String resourceBasePath, ResourceLoader resourceLoader)
Create a newMockServletContext
using the supplied resource base path and resource loader.MockServletContext(ResourceLoader resourceLoader)
Create a newMockServletContext
, using the specifiedResourceLoader
and no base path.Uses of ResourceLoader in org.springframework.orm.hibernate5
Methods in org.springframework.orm.hibernate5 that return ResourceLoader Modifier and Type Method Description ResourceLoader
LocalSessionFactoryBean. getResourceLoader()
Determine the SpringResourceLoader
to use for Hibernate metadata.Methods in org.springframework.orm.hibernate5 with parameters of type ResourceLoader Modifier and Type Method Description void
LocalSessionFactoryBean. setResourceLoader(ResourceLoader resourceLoader)
Specify a SpringResourceLoader
to use for Hibernate metadata.Constructors in org.springframework.orm.hibernate5 with parameters of type ResourceLoader Constructor Description LocalSessionFactoryBuilder(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 ResourceLoader Modifier and Type Method Description void
LocalContainerEntityManagerFactoryBean. setResourceLoader(ResourceLoader resourceLoader)
Uses of ResourceLoader in org.springframework.orm.jpa.persistenceunit
Methods in org.springframework.orm.jpa.persistenceunit with parameters of type ResourceLoader Modifier and Type Method Description void
DefaultPersistenceUnitManager. setResourceLoader(ResourceLoader resourceLoader)
Uses of ResourceLoader in org.springframework.scheduling.quartz
Fields in org.springframework.scheduling.quartz declared as ResourceLoader Modifier and Type Field Description protected ResourceLoader
SchedulerAccessor. resourceLoader
Methods in org.springframework.scheduling.quartz that return ResourceLoader Modifier and Type Method Description static ResourceLoader
SchedulerFactoryBean. getConfigTimeResourceLoader()
Return theResourceLoader
for the currently configured Quartz Scheduler, to be used byResourceLoaderClassLoadHelper
.Methods in org.springframework.scheduling.quartz with parameters of type ResourceLoader Modifier and Type Method Description void
SchedulerAccessor. setResourceLoader(ResourceLoader resourceLoader)
Constructors in org.springframework.scheduling.quartz with parameters of type ResourceLoader Constructor Description ResourceLoaderClassLoadHelper(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 ResourceLoader Modifier and Type Method Description protected ScriptSource
ScriptFactoryPostProcessor. convertToScriptSource(String beanName, String scriptSourceLocator, ResourceLoader resourceLoader)
Convert the given script source locator to a ScriptSource instance.void
ScriptFactoryPostProcessor. setResourceLoader(ResourceLoader resourceLoader)
Uses of ResourceLoader in org.springframework.test.context.support
Methods in org.springframework.test.context.support with parameters of type ResourceLoader Modifier and Type Method Description static void
TestPropertySourceUtils. 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 ResourceLoader Modifier and Type Method Description static List<Resource>
TestContextResourceUtils. convertToResourceList(ResourceLoader resourceLoader, String... paths)
Convert the supplied paths to a list ofResource
handles using the givenResourceLoader
.static Resource[]
TestContextResourceUtils. convertToResources(ResourceLoader resourceLoader, String... paths)
Convert the supplied paths to an array ofResource
handles using the givenResourceLoader
.Uses of ResourceLoader in org.springframework.ui.freemarker
Methods in org.springframework.ui.freemarker that return ResourceLoader Modifier and Type Method Description protected ResourceLoader
FreeMarkerConfigurationFactory. getResourceLoader()
Return the Spring ResourceLoader to use for loading FreeMarker template files.Methods in org.springframework.ui.freemarker with parameters of type ResourceLoader Modifier and Type Method Description void
FreeMarkerConfigurationFactory. setResourceLoader(ResourceLoader resourceLoader)
Set the Spring ResourceLoader to use for loading FreeMarker template files.Constructors in org.springframework.ui.freemarker with parameters of type ResourceLoader Constructor Description SpringTemplateLoader(ResourceLoader resourceLoader, String templateLoaderPath)
Create a new SpringTemplateLoader.Uses of ResourceLoader in org.springframework.web.context
Subinterfaces of ResourceLoader in org.springframework.web.context Modifier and Type Interface Description interface
ConfigurableWebApplicationContext
Interface to be implemented by configurable web application contexts.interface
WebApplicationContext
Interface 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 ResourceLoader Modifier and Type Class Description class
AbstractRefreshableWebApplicationContext
AbstractRefreshableApplicationContext
subclass which implements theConfigurableWebApplicationContext
interface for web environments.class
AnnotationConfigWebApplicationContext
WebApplicationContext
implementation which accepts component classes as input — in particular@Configuration
-annotated classes, but also plain@Component
classes and JSR-330 compliant classes usingjavax.inject
annotations.class
GenericWebApplicationContext
Subclass ofGenericApplicationContext
, suitable for web environments.class
GroovyWebApplicationContext
WebApplicationContext
implementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by aGroovyBeanDefinitionReader
.class
ServletContextResourceLoader
ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext (for example, in an HttpServletBean or GenericFilterBean subclass).class
ServletContextResourcePatternResolver
ServletContext-aware subclass ofPathMatchingResourcePatternResolver
, able to find matching resources below the web application root directory viaServletContext.getResourcePaths(java.lang.String)
.class
StaticWebApplicationContext
StaticWebApplicationContext
implementation for testing.class
XmlWebApplicationContext
WebApplicationContext
implementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader
.Constructors in org.springframework.web.context.support with parameters of type ResourceLoader Constructor Description ServletContextResourcePatternResolver(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 ResourceLoader Constructor Description ResourceHandlerRegistration(ResourceLoader resourceLoader, String... pathPatterns)
Create aResourceHandlerRegistration
instance.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 ResourceLoader Modifier and Type Method Description void
ResourceWebHandler. setResourceLoader(ResourceLoader resourceLoader)
Provide the ResourceLoader to loadlocation values
with.