Uses of Interface
org.springframework.context.MessageSource

Packages that use MessageSource
org.springframework.context This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.  
org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation. 
org.springframework.ui.context Contains classes defining the application context subinterface for UI applications.  
org.springframework.ui.context.support Classes supporting the org.springframework.ui.context package.  
org.springframework.web.context Contains the application context subinterface for web applications, and the ContextLoaderListener that bootstraps the root web application context. 
org.springframework.web.context.support Classes supporting the org.springframework.web.context package, such as WebApplicationContext implementations, and a utility class for retrieval of the root application context etc. 
org.springframework.web.servlet.support Support classes for Spring's web MVC framework.  
org.springframework.web.servlet.tags Spring's standard custom tag library.  
 

Uses of MessageSource in org.springframework.context
 

Subinterfaces of MessageSource in org.springframework.context
 interface ApplicationContext
          Central interface to provide configuration for an application.
 interface ConfigurableApplicationContext
          SPI interface to be implemented by most if not all application contexts.
 interface HierarchicalMessageSource
          Sub-interface of MessageSource to be implemented by objects that can resolve messages hierarchically.
 

Methods in org.springframework.context that return MessageSource
 MessageSource HierarchicalMessageSource.getParentMessageSource()
          Return the parent of this MessageSource, or null if none.
 

Methods in org.springframework.context with parameters of type MessageSource
 void HierarchicalMessageSource.setParentMessageSource(MessageSource parent)
          Set the parent that will be used to try to resolve messages that this object can't resolve.
 void MessageSourceAware.setMessageSource(MessageSource messageSource)
          Set the MessageSource that this object runs in.
 

Uses of MessageSource in org.springframework.context.support
 

Classes in org.springframework.context.support that implement MessageSource
 class AbstractApplicationContext
          Abstract implementation of the ApplicationContext interface.
 class AbstractMessageSource
          Abstract implementation of HierarchicalMessageSource interface, making it easy to implement a custom MessageSource.
 class AbstractRefreshableApplicationContext
          Base class for ApplicationContext implementations that are supposed to support multiple refreshs, creating a new internal bean factory instance every time.
 class AbstractXmlApplicationContext
          Convenient abstract superclass for ApplicationContext implementations, drawing configuration from XML documents containing bean definitions understood by an XmlBeanDefinitionReader.
 class ClassPathXmlApplicationContext
          Standalone XML application context, taking the context definition files from the class path.
 class DelegatingMessageSource
          Empty MessageSource that delegates all calls to the parent MessageSource.
 class FileSystemXmlApplicationContext
          Standalone XML application context, taking the context definition files from the file system or from URLs.
 class GenericApplicationContext
          Generic ApplicationContext implementation that holds a single internal DefaultListableBeanFactory instance and does not assume a specific bean definition format.
 class ReloadableResourceBundleMessageSource
          MessageSource that accesses the ResourceBundles with the specified basenames.
 class ResourceBundleMessageSource
          MessageSource that accesses the ResourceBundles with the specified basenames.
 class StaticApplicationContext
          ApplicationContext that allows concrete registration of beans and messages in code, rather than from external configuration sources.
 class StaticMessageSource
          Simple implementation of MessageSource that allows messages to be held in a Java object, and added programmatically.
 

Methods in org.springframework.context.support that return MessageSource
 MessageSource DelegatingMessageSource.getParentMessageSource()
           
protected  MessageSource AbstractApplicationContext.getInternalParentMessageSource()
          Return the internal message source of the parent context if it is an AbstractApplicationContext too; else, return the parent context itself.
 MessageSource AbstractMessageSource.getParentMessageSource()
           
 

Methods in org.springframework.context.support with parameters of type MessageSource
 void DelegatingMessageSource.setParentMessageSource(MessageSource parent)
           
 void AbstractMessageSource.setParentMessageSource(MessageSource parent)
           
 

Constructors in org.springframework.context.support with parameters of type MessageSource
MessageSourceResourceBundle(MessageSource source, Locale locale)
           
MessageSourceAccessor(MessageSource messageSource)
          Create a new MessageSourceAccessor, using the system Locale as default Locale.
MessageSourceAccessor(MessageSource messageSource, Locale defaultLocale)
          Create a new MessageSourceAccessor, using the given default locale.
 

Uses of MessageSource in org.springframework.ui.context
 

Methods in org.springframework.ui.context that return MessageSource
 MessageSource Theme.getMessageSource()
          Return the specific MessageSource that resolves messages with respect to this theme.
 

Uses of MessageSource in org.springframework.ui.context.support
 

Methods in org.springframework.ui.context.support that return MessageSource
 MessageSource SimpleTheme.getMessageSource()
           
 

Constructors in org.springframework.ui.context.support with parameters of type MessageSource
SimpleTheme(String name, MessageSource messageSource)
           
 

Uses of MessageSource in org.springframework.web.context
 

Subinterfaces of MessageSource in org.springframework.web.context
 interface ConfigurableWebApplicationContext
          Interface to be implemented by configurable web application contexts.
 interface WebApplicationContext
          Interface to provide configuration for a web application.
 

Uses of MessageSource in org.springframework.web.context.support
 

Classes in org.springframework.web.context.support that implement MessageSource
 class AbstractRefreshableWebApplicationContext
          AbstractRefreshableApplicationContext subclass that implements the ConfigurableWebApplicationContext interface for web environments.
 class StaticWebApplicationContext
          Static WebApplicationContext implementation for testing.
 class XmlWebApplicationContext
          WebApplicationContext implementation that takes configuration from an XML document, understood by an XmlBeanDefinitionReader.
 

Uses of MessageSource in org.springframework.web.servlet.support
 

Methods in org.springframework.web.servlet.support that return MessageSource
static MessageSource JstlUtils.getJstlAwareMessageSource(ServletContext servletContext, MessageSource messageSource)
          Checks JSTL's "javax.servlet.jsp.jstl.fmt.localizationContext" context-param and creates a corresponding child message source, with the provided Spring-defined MessageSource as parent.
 

Methods in org.springframework.web.servlet.support with parameters of type MessageSource
static MessageSource JstlUtils.getJstlAwareMessageSource(ServletContext servletContext, MessageSource messageSource)
          Checks JSTL's "javax.servlet.jsp.jstl.fmt.localizationContext" context-param and creates a corresponding child message source, with the provided Spring-defined MessageSource as parent.
static void JstlUtils.exposeLocalizationContext(HttpServletRequest request, MessageSource messageSource)
          Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and message source.
 

Uses of MessageSource in org.springframework.web.servlet.tags
 

Methods in org.springframework.web.servlet.tags that return MessageSource
protected  MessageSource MessageTag.getMessageSource()
          Use the application context itself for default message resolution.
protected  MessageSource ThemeTag.getMessageSource()
          Use the theme MessageSource for theme message resolution.
 



Copyright (C) 2003-2004 The Spring Framework Project.