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.
-
ClassesClassDescriptionAbstract implementation of the
ApplicationContextinterface.Abstract implementation of theHierarchicalMessageSourceinterface, implementing common handling of message variants, making it easy to implement a specific strategy for a concrete MessageSource.Base class forApplicationContextimplementations which are supposed to support multiple calls toAbstractApplicationContext.refresh(), creating a new internal bean factory instance every time.AbstractRefreshableApplicationContextsubclass that adds common handling of specified config locations.Abstract base class forMessageSourceimplementations based on resource bundle conventions, such asResourceBundleMessageSourceandReloadableResourceBundleMessageSource.Convenient base class forApplicationContextimplementations, 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 theLifecycleProcessorstrategy.Spring's default implementation of theMessageSourceResolvableinterface.EmptyMessageSourcethat 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 internalDefaultListableBeanFactoryinstance and does not assume a specific bean definition format.AnApplicationContextimplementation that extendsGenericApplicationContextand implementsGroovyObjectsuch that beans can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(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 SpringMessageSourceas aResourceBundle.Base class for message source implementations, providing support infrastructure such asMessageFormathandling but not implementing concrete methods defined in theMessageSource.Specialization ofPlaceholderConfigurerSupportthat resolves ${...} placeholders within bean definition property values and@Valueannotations against the current SpringEnvironmentand its set ofPropertySources.Spring-specificMessageSourceimplementation that accesses resource bundles using specified basenames, participating in the SpringApplicationContext's resource loading.MessageSourceimplementation that accesses resource bundles using specified basenames.A simple thread-backedScopeimplementation.ApplicationContextimplementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.Simple implementation ofMessageSourcewhich allows messages to be registered programmatically.