Package org.springframework.context.support
@NullMarked
package org.springframework.context.support
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
-
ClassDescriptionAbstract implementation of the
ApplicationContext
interface.Abstract implementation of theHierarchicalMessageSource
interface, implementing common handling of message variants, making it easy to implement a specific strategy for a concrete MessageSource.Base class forApplicationContext
implementations which are supposed to support multiple calls toAbstractApplicationContext.refresh()
, creating a new internal bean factory instance every time.AbstractRefreshableApplicationContext
subclass that adds common handling of specified config locations.Abstract base class forMessageSource
implementations based on resource bundle conventions, such asResourceBundleMessageSource
andReloadableResourceBundleMessageSource
.Convenient base class forApplicationContext
implementations, drawing configuration from XML documents containing bean definitions understood by anXmlBeanDefinitionReader
.Convenient superclass for application objects that want to be aware of the application context, for example, for custom lookup of collaborating beans or for context-specific resource access.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 (for example, "mypackage/myresource.txt").A factory providing convenient access to a ConversionService configured with converters appropriate for most environments.Spring's default implementation of theLifecycleProcessor
strategy.Spring's default implementation of theMessageSourceResolvable
interface.EmptyMessageSource
that delegates all calls to the parent MessageSource.Convenient base class for components with a need for embedded value resolution (i.e.Standalone XML application context, taking the context definition files from the file system or from URLs, interpreting plain paths as relative file system locations (for example, "mydir/myfile.txt").Generic ApplicationContext implementation that holds a single internalDefaultListableBeanFactory
instance and does not assume a specific bean definition format.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)
.Convenient application context with built-in XML support.Helper class for easy access to messages from a MessageSource, providing various overloaded getMessage methods.Helper class that allows for accessing a SpringMessageSource
as aResourceBundle
.Base class for message source implementations, providing support infrastructure such asMessageFormat
handling but not implementing concrete methods defined in theMessageSource
.Specialization ofPlaceholderConfigurerSupport
that resolves ${...} placeholders within bean definition property values and@Value
annotations against the current SpringEnvironment
and its set ofPropertySources
.Spring-specificMessageSource
implementation that accesses resource bundles using specified basenames, participating in the SpringApplicationContext
's resource loading.MessageSource
implementation that accesses resource bundles using specified basenames.A simple thread-backedScope
implementation.ApplicationContext
implementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.Simple implementation ofMessageSource
which allows messages to be registered programmatically.