程序包 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 theLiveBeansViewfeature.类概要 类 说明 AbstractApplicationContext Abstract implementation of theApplicationContextinterface.AbstractMessageSource Abstract implementation of theHierarchicalMessageSourceinterface, implementing common handling of message variants, making it easy to implement a specific strategy for a concrete MessageSource.AbstractRefreshableApplicationContext Base class forApplicationContextimplementations which are supposed to support multiple calls toAbstractApplicationContext.refresh(), creating a new internal bean factory instance every time.AbstractRefreshableConfigApplicationContext AbstractRefreshableApplicationContextsubclass that adds common handling of specified config locations.AbstractResourceBasedMessageSource Abstract base class forMessageSourceimplementations based on resource bundle conventions, such asResourceBundleMessageSourceandReloadableResourceBundleMessageSource.AbstractXmlApplicationContext Convenient base class forApplicationContextimplementations, 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 theLifecycleProcessorstrategy.DefaultMessageSourceResolvable Spring's default implementation of theMessageSourceResolvableinterface.DelegatingMessageSource EmptyMessageSourcethat 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 internalDefaultListableBeanFactoryinstance and does not assume a specific bean definition format.GenericGroovyApplicationContext AnApplicationContextimplementation that extendsGenericApplicationContextand implementsGroovyObjectsuch 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 localLiveBeansViewbean 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 SpringMessageSourceas aResourceBundle.MessageSourceSupport Base class for message source implementations, providing support infrastructure such asMessageFormathandling but not implementing concrete methods defined in theMessageSource.PropertySourcesPlaceholderConfigurer Specialization ofPlaceholderConfigurerSupportthat resolves ${...} placeholders within bean definition property values and@Valueannotations against the current SpringEnvironmentand its set ofPropertySources.ReloadableResourceBundleMessageSource Spring-specificMessageSourceimplementation that accesses resource bundles using specified basenames, participating in the SpringApplicationContext's resource loading.ResourceBundleMessageSource MessageSourceimplementation that accesses resource bundles using specified basenames.SimpleThreadScope A simple thread-backedScopeimplementation.StaticApplicationContext ApplicationContextimplementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.StaticMessageSource Simple implementation ofMessageSourcewhich allows messages to be registered programmatically.