org.springframework.context.support |
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
|
Java Source File Name | Type | Comment |
AbstractApplicationContext.java | Class | Abstract implementation of the
org.springframework.context.ApplicationContext interface. |
AbstractMessageSource.java | Class | Abstract implementation of the
HierarchicalMessageSource interface,
implementing common handling of message variants, making it easy
to implement a specific strategy for a concrete MessageSource.
Subclasses must implement the abstract
AbstractMessageSource.resolveCode method. |
AbstractRefreshableApplicationContext.java | Class | Base class for
org.springframework.context.ApplicationContext implementations which are supposed to support multiple refreshs,
creating a new internal bean factory instance every time.
Typically (but not necessarily), such a context will be driven by
a set of config locations to load bean definitions from.
The only method to be implemented by subclasses is
AbstractRefreshableApplicationContext.loadBeanDefinitions ,
which gets invoked on each refresh. |
AbstractXmlApplicationContext.java | Class | Convenient base class for
org.springframework.context.ApplicationContext implementations, drawing configuration from XML documents containing bean definitions
understood by an
org.springframework.beans.factory.xml.XmlBeanDefinitionReader .
Subclasses just have to implement the
AbstractXmlApplicationContext.getConfigResources and/or
the
AbstractXmlApplicationContext.getConfigLocations method. |
ApplicationContextAwareProcessor.java | Class | org.springframework.beans.factory.config.BeanPostProcessor implementation that passes the ApplicationContext to beans that
implement the
ResourceLoaderAware ,
MessageSourceAware ,
ApplicationEventPublisherAware and/or
ApplicationContextAware interfaces.
If all of them are implemented, they are satisfied in the given order.
Application contexts will automatically register this with their
underlying bean factory. |
ApplicationObjectSupport.java | Class | Convenient superclass for application objects that want to be aware of
the application context, e.g. |
ClassPathXmlApplicationContext.java | Class | 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. |
ContextTypeMatchClassLoader.java | Class | Special variant of an overriding ClassLoader, used for temporary
type matching in AbstractApplicationContext. |
DefaultMessageSourceResolvable.java | Class | Default implementation of the MessageSourceResolvable interface. |
DelegatingMessageSource.java | Class | Empty MessageSource that delegates all calls to the parent MessageSource.
If no parent is available, it simply won't resolve any message.
Used as placeholder by AbstractApplicationContext, if the context doesn't
define its own MessageSource. |
FileSystemXmlApplicationContext.java | Class | 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. |
GenericApplicationContext.java | Class | Generic ApplicationContext implementation that holds a single internal
org.springframework.beans.factory.support.DefaultListableBeanFactory instance and does not assume a specific bean definition format. |
MessageSourceAccessor.java | Class | Helper class for easy access to messages from a MessageSource,
providing various overloaded getMessage methods. |
MessageSourceResourceBundle.java | Class | Helper class that allows for accessing a Spring
org.springframework.context.MessageSource as a
java.util.ResourceBundle . |
ReloadableResourceBundleMessageSource.java | Class | org.springframework.context.MessageSource implementation that
accesses resource bundles using specified basenames. |
ResourceBundleMessageSource.java | Class | org.springframework.context.MessageSource implementation that
accesses resource bundles using specified basenames. |
ResourceMapFactoryBean.java | Class | FactoryBean that creates a Map with String keys and Resource values from
properties, interpreting passed-in String values as resource locations. |
StaticApplicationContext.java | Class | org.springframework.context.ApplicationContext implementation
which supports programmatic registration of beans and messages,
rather than reading bean definitions from external configuration sources. |
StaticMessageSource.java | Class | Simple implementation of
org.springframework.context.MessageSource which allows messages to be registered programmatically. |