程序包 org.springframework.context.support
Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.
接口概要 接口 说明 LiveBeansViewMBean MBean operation interface for theLiveBeansView
feature.类概要 类 说明 AbstractApplicationContext Abstract implementation of theApplicationContext
interface.AbstractMessageSource Abstract implementation of theHierarchicalMessageSource
interface, implementing common handling of message variants, making it easy to implement a specific strategy for a concrete MessageSource.AbstractRefreshableApplicationContext Base class forApplicationContext
implementations which are supposed to support multiple calls toAbstractApplicationContext.refresh()
, creating a new internal bean factory instance every time.AbstractRefreshableConfigApplicationContext AbstractRefreshableApplicationContext
subclass that adds common handling of specified config locations.AbstractResourceBasedMessageSource Abstract base class forMessageSource
implementations based on resource bundle conventions, such asResourceBundleMessageSource
andReloadableResourceBundleMessageSource
.AbstractXmlApplicationContext Convenient base class forApplicationContext
implementations, drawing configuration from XML documents containing bean definitions understood by anXmlBeanDefinitionReader
.ApplicationObjectSupport Convenient superclass for application objects that want to be aware of the application context, e.g. for custom lookup of collaborating beans or for context-specific resource access.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.ConversionServiceFactoryBean A factory providing convenient access to a ConversionService configured with converters appropriate for most environments.DefaultLifecycleProcessor Default implementation of theLifecycleProcessor
strategy.DefaultMessageSourceResolvable Spring's default implementation of theMessageSourceResolvable
interface.DelegatingMessageSource EmptyMessageSource
that delegates all calls to the parent MessageSource.EmbeddedValueResolutionSupport Convenient base class for components with a need for embedded value resolution (i.e.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.GenericApplicationContext Generic ApplicationContext implementation that holds a single internalDefaultListableBeanFactory
instance and does not assume a specific bean definition format.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)
.GenericXmlApplicationContext Convenient application context with built-in XML support.LiveBeansView Adapter for live beans view exposure, building a snapshot of current beans and their dependencies from either a localApplicationContext
(with a localLiveBeansView
bean definition) or all registered ApplicationContexts (driven by the "spring.liveBeansView.mbeanDomain" environment property).MessageSourceAccessor Helper class for easy access to messages from a MessageSource, providing various overloaded getMessage methods.MessageSourceResourceBundle Helper class that allows for accessing a SpringMessageSource
as aResourceBundle
.MessageSourceSupport Base class for message source implementations, providing support infrastructure such asMessageFormat
handling but not implementing concrete methods defined in theMessageSource
.PropertySourcesPlaceholderConfigurer Specialization ofPlaceholderConfigurerSupport
that resolves ${...} placeholders within bean definition property values and@Value
annotations against the current SpringEnvironment
and its set ofPropertySources
.ReloadableResourceBundleMessageSource Spring-specificMessageSource
implementation that accesses resource bundles using specified basenames, participating in the SpringApplicationContext
's resource loading.ResourceBundleMessageSource MessageSource
implementation that accesses resource bundles using specified basenames.SimpleThreadScope A simple thread-backedScope
implementation.StaticApplicationContext ApplicationContext
implementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.StaticMessageSource Simple implementation ofMessageSource
which allows messages to be registered programmatically.