Class DelegatingMessageSource

java.lang.Object
org.springframework.context.support.MessageSourceSupport
org.springframework.context.support.DelegatingMessageSource
All Implemented Interfaces:
HierarchicalMessageSource, MessageSource

public class DelegatingMessageSource extends MessageSourceSupport implements 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.

Since:
1.1.5
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • DelegatingMessageSource

      public DelegatingMessageSource()
  • Method Details