Package | Description |
---|---|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
org.springframework.beans.factory.xml |
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" DTD. |
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.5 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 2.5 mock objects,
targeted at usage with Spring's web MVC framework.
|
org.springframework.mock.web.portlet |
A comprehensive set of Portlet API 2.0 mock objects,
targeted at usage with Spring's web MVC framework.
|
org.springframework.orm.hibernate3.annotation |
Support package for the Hibernate3 Annotation add-on,
which supports EJB3-compliant JDK 1.5+ annotations for mappings.
|
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.scripting.support |
Support classes for Spring's scripting package.
|
org.springframework.test.jdbc |
Support classes for tests based on JDBC.
|
org.springframework.ui.freemarker |
Support classes for setting up
FreeMarker
within a Spring application context.
|
org.springframework.ui.velocity |
Support classes for setting up
Velocity
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 the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
org.springframework.web.portlet.context |
Support for Spring's application context concept in a portlet environment,
including ApplicationContext implementations and various utility classes.
|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Method and Description |
---|---|
ResourceLoader |
AbstractBeanDefinitionReader.getResourceLoader() |
ResourceLoader |
BeanDefinitionReader.getResourceLoader()
Return the resource loader to use for resource locations.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBeanDefinitionReader.setResourceLoader(ResourceLoader resourceLoader)
Set the ResourceLoader to use for resource locations.
|
Modifier and Type | Method and Description |
---|---|
ResourceLoader |
XmlReaderContext.getResourceLoader() |
Constructor and Description |
---|
ResourceEntityResolver(ResourceLoader resourceLoader)
Create a ResourceEntityResolver for the specified ResourceLoader
(usually, an ApplicationContext).
|
Constructor and Description |
---|
ResourceEditorRegistrar(ResourceLoader resourceLoader)
Deprecated.
as of Spring 3.1 in favor of
ResourceEditorRegistrar.ResourceEditorRegistrar(ResourceLoader, PropertyResolver) |
ResourceEditorRegistrar(ResourceLoader resourceLoader,
PropertyResolver propertyResolver)
Create a new ResourceEditorRegistrar for the given
ResourceLoader
and PropertyResolver . |
Modifier and Type | Interface and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceLoaderAware.setResourceLoader(ResourceLoader resourceLoader)
Set the ResourceLoader that this object runs in.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationConfigApplicationContext
Standalone application context, accepting annotated classes as input - in particular
@Configuration -annotated classes, but also plain
@Component types and JSR-330 compliant
classes using javax.inject annotations. |
Modifier and Type | Method and Description |
---|---|
ResourceLoader |
ClassPathScanningCandidateComponentProvider.getResourceLoader()
Return the ResourceLoader that this component provider uses.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassPathScanningCandidateComponentProvider.setResourceLoader(ResourceLoader resourceLoader)
Set the ResourceLoader to use for resource locations.
|
void |
ConfigurationClassPostProcessor.setResourceLoader(ResourceLoader resourceLoader) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractApplicationContext
Abstract implementation of the
ApplicationContext
interface. |
class |
AbstractRefreshableApplicationContext
Base class for
ApplicationContext
implementations which are supposed to support multiple calls to AbstractApplicationContext.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 for
ApplicationContext
implementations, drawing configuration from XML documents containing bean definitions
understood by an XmlBeanDefinitionReader . |
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 internal
DefaultListableBeanFactory
instance and does not assume a specific bean definition format. |
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. |
Modifier and Type | Method and Description |
---|---|
void |
ReloadableResourceBundleMessageSource.setResourceLoader(ResourceLoader resourceLoader)
Set the ResourceLoader to use for loading bundle properties files.
|
void |
GenericApplicationContext.setResourceLoader(ResourceLoader resourceLoader)
Set a ResourceLoader to use for this context.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassRelativeResourceLoader
ResourceLoader implementation that interprets plain resource paths
as relative to a given java.lang.Class . |
class |
DefaultResourceLoader
Default implementation of the
ResourceLoader interface. |
class |
FileSystemResourceLoader
ResourceLoader implementation that resolves plain paths as
file system resources rather than as class path resources
(the latter is DefaultResourceLoader 's default strategy). |
Constructor and Description |
---|
ResourceEditor(ResourceLoader resourceLoader)
Deprecated.
as of Spring 3.1 in favor of
ResourceEditor.ResourceEditor(ResourceLoader, PropertyResolver) |
ResourceEditor(ResourceLoader resourceLoader,
boolean ignoreUnresolvablePlaceholders)
Deprecated.
as of Spring 3.1 in favor of
ResourceEditor.ResourceEditor(ResourceLoader, PropertyResolver, boolean) |
ResourceEditor(ResourceLoader resourceLoader,
PropertyResolver propertyResolver)
Create a new instance of the
ResourceEditor class
using the given ResourceLoader and PropertyResolver . |
ResourceEditor(ResourceLoader resourceLoader,
PropertyResolver propertyResolver,
boolean ignoreUnresolvablePlaceholders)
Create a new instance of the
ResourceEditor class
using the given ResourceLoader . |
Modifier and Type | Interface and Description |
---|---|
interface |
ResourcePatternResolver
Strategy interface for resolving a location pattern (for example,
an Ant-style path pattern) into Resource objects.
|
Modifier and Type | Class and Description |
---|---|
class |
PathMatchingResourcePatternResolver
A
ResourcePatternResolver implementation that is able to resolve a
specified resource location path into one or more matching Resources. |
Modifier and Type | Method and Description |
---|---|
ResourceLoader |
PathMatchingResourcePatternResolver.getResourceLoader()
Return the ResourceLoader that this pattern resolver works with.
|
Modifier and Type | Method and Description |
---|---|
static ResourcePatternResolver |
ResourcePatternUtils.getResourcePatternResolver(ResourceLoader resourceLoader)
Return a default ResourcePatternResolver for the given ResourceLoader.
|
Constructor and Description |
---|
LocalizedResourceHelper(ResourceLoader resourceLoader)
Create a new LocalizedResourceHelper with the given ResourceLoader.
|
PathMatchingResourcePatternResolver(ResourceLoader resourceLoader)
Create a new PathMatchingResourcePatternResolver.
|
Modifier and Type | Method and Description |
---|---|
ResourceLoader |
SimpleMetadataReaderFactory.getResourceLoader()
Return the ResourceLoader that this MetadataReaderFactory has been
constructed with.
|
Constructor and Description |
---|
CachingMetadataReaderFactory(ResourceLoader resourceLoader)
Create a new CachingMetadataReaderFactory for the given resource loader.
|
SimpleMetadataReaderFactory(ResourceLoader resourceLoader)
Create a new SimpleMetadataReaderFactory for the given resource loader.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceAdapterApplicationContext
ApplicationContext implementation
for a JCA ResourceAdapter. |
Modifier and Type | Method and Description |
---|---|
void |
SortedResourcesFactoryBean.setResourceLoader(ResourceLoader resourceLoader) |
Constructor and Description |
---|
SortedResourcesFactoryBean(ResourceLoader resourceLoader,
List<String> locations) |
Constructor and Description |
---|
EmbeddedDatabaseBuilder(ResourceLoader resourceLoader)
Create a new embedded database builder with the given ResourceLoader.
|
Constructor and Description |
---|
MockServletContext(ResourceLoader resourceLoader)
Create a new MockServletContext, using the specified ResourceLoader
and no base path.
|
MockServletContext(String resourceBasePath,
ResourceLoader resourceLoader)
Create a new MockServletContext using the supplied resource base path and
resource loader.
|
Constructor and Description |
---|
MockPortletContext(ResourceLoader resourceLoader)
Create a new MockPortletContext, using the specified ResourceLoader
and no base path.
|
MockPortletContext(String resourceBasePath,
ResourceLoader resourceLoader)
Create a new MockPortletContext.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationSessionFactoryBean.setResourceLoader(ResourceLoader resourceLoader) |
Modifier and Type | Method and Description |
---|---|
void |
LocalContainerEntityManagerFactoryBean.setResourceLoader(ResourceLoader resourceLoader) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPersistenceUnitManager.setResourceLoader(ResourceLoader resourceLoader) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static void |
JdbcTestUtils.executeSqlScript(JdbcTemplate jdbcTemplate,
ResourceLoader resourceLoader,
String sqlResourcePath,
boolean continueOnError)
Execute the given SQL script.
|
static void |
SimpleJdbcTestUtils.executeSqlScript(SimpleJdbcTemplate simpleJdbcTemplate,
ResourceLoader resourceLoader,
String sqlResourcePath,
boolean continueOnError)
Deprecated.
Execute the given SQL script.
|
Modifier and Type | Method and Description |
---|---|
protected ResourceLoader |
FreeMarkerConfigurationFactory.getResourceLoader()
Return the Spring ResourceLoader to use for loading FreeMarker template files.
|
Modifier and Type | Method and Description |
---|---|
void |
FreeMarkerConfigurationFactory.setResourceLoader(ResourceLoader resourceLoader)
Set the Spring ResourceLoader to use for loading FreeMarker template files.
|
Constructor and Description |
---|
SpringTemplateLoader(ResourceLoader resourceLoader,
String templateLoaderPath)
Create a new SpringTemplateLoader.
|
Modifier and Type | Method and Description |
---|---|
protected ResourceLoader |
VelocityEngineFactory.getResourceLoader()
Return the Spring ResourceLoader to use for loading Velocity template files.
|
Modifier and Type | Method and Description |
---|---|
void |
VelocityEngineFactory.setResourceLoader(ResourceLoader resourceLoader)
Set the Spring ResourceLoader to use for loading Velocity template files.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurableWebApplicationContext
Interface to be implemented by configurable web application contexts.
|
interface |
WebApplicationContext
Interface to provide configuration for a web application.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRefreshableWebApplicationContext
AbstractRefreshableApplicationContext
subclass which implements the
ConfigurableWebApplicationContext
interface for web environments. |
class |
AnnotationConfigWebApplicationContext
WebApplicationContext
implementation which accepts annotated classes as input - in particular
@Configuration -annotated
classes, but also plain @Component
classes and JSR-330 compliant classes using javax.inject annotations. |
class |
GenericWebApplicationContext
Subclass of
GenericApplicationContext , suitable for web environments. |
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 of
PathMatchingResourcePatternResolver ,
able to find matching resources below the web application root directory
via ServletContext.getResourcePaths(java.lang.String) . |
class |
StaticWebApplicationContext
Static
WebApplicationContext
implementation for testing. |
class |
XmlWebApplicationContext
WebApplicationContext implementation
which takes its configuration from XML documents, understood by an
XmlBeanDefinitionReader . |
Constructor and Description |
---|
ServletContextResourcePatternResolver(ResourceLoader resourceLoader)
Create a new ServletContextResourcePatternResolver.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurablePortletApplicationContext
Interface to be implemented by configurable portlet application contexts.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRefreshablePortletApplicationContext
AbstractRefreshableApplicationContext
subclass which implements the ConfigurablePortletApplicationContext
interface for portlet environments. |
class |
PortletContextResourceLoader
ResourceLoader implementation that resolves paths as PortletContext
resources, for use outside a Portlet ApplicationContext (for example,
in a GenericPortletBean subclass).
|
class |
PortletContextResourcePatternResolver
PortletContext-aware subclass of
PathMatchingResourcePatternResolver ,
able to find matching resources below the web application root directory
via Portlet API's PortletContext.getResourcePaths . |
class |
StaticPortletApplicationContext
Static Portlet-based
ApplicationContext
implementation for testing. |
class |
XmlPortletApplicationContext
Portlet-based
WebApplicationContext
implementation which takes its configuration from XML documents, understood
by an XmlBeanDefinitionReader . |
Constructor and Description |
---|
PortletContextResourcePatternResolver(ResourceLoader resourceLoader)
Create a new PortletContextResourcePatternResolver.
|
Constructor and Description |
---|
ResourceHandlerRegistration(ResourceLoader resourceLoader,
String... pathPatterns)
Create a
ResourceHandlerRegistration instance. |
Copyright © 2015. All rights reserved.