Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » context » support » [javadoc | source]
org.springframework.context.support
public class: DelegatingMessageSource [javadoc | source]
java.lang.Object
   org.springframework.context.support.MessageSourceSupport
      org.springframework.context.support.DelegatingMessageSource

All Implemented Interfaces:
    HierarchicalMessageSource

Empty MessageSource that delegates all calls to the parent MessageSource. If no parent is available, it simply won't resolve any message.

Used as placeholder by AbstractApplicationContext, if the context doesn't define its own MessageSource. Not intended for direct use in applications.

Fields inherited from org.springframework.context.support.MessageSourceSupport:
logger
Method from org.springframework.context.support.DelegatingMessageSource Summary:
getMessage,   getMessage,   getMessage,   getParentMessageSource,   setParentMessageSource
Methods from org.springframework.context.support.MessageSourceSupport:
createMessageFormat,   formatMessage,   isAlwaysUseMessageFormat,   renderDefaultMessage,   resolveArguments,   setAlwaysUseMessageFormat
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.context.support.DelegatingMessageSource Detail:
 public String getMessage(MessageSourceResolvable resolvable,
    Locale locale) throws NoSuchMessageException 
 public String getMessage(String code,
    Object[] args,
    Locale locale) throws NoSuchMessageException 
 public String getMessage(String code,
    Object[] args,
    String defaultMessage,
    Locale locale) 
 public MessageSource getParentMessageSource() 
 public  void setParentMessageSource(MessageSource parent)