Class EntityViewMessageSource
java.lang.Object
com.foreach.across.modules.entity.support.EntityViewMessageSource
- All Implemented Interfaces:
- org.springframework.context.MessageSource
public class EntityViewMessageSource
extends Object
implements org.springframework.context.MessageSource
MessageSource implementation using a EntityMessageCodeResolver with fallback
 message lookups for every message.  Used by the DefaultEntityViewFactory
 on the ViewElementBuilderContext.- Since:
- 2.1.0
- Author:
- Arne Vandamme
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetMessage(String code, Object[] args, String defaultMessage, Locale locale) getMessage(String code, Object[] args, Locale locale) getMessage(org.springframework.context.MessageSourceResolvable resolvable, Locale locale) 
- 
Constructor Details- 
EntityViewMessageSource
 
- 
- 
Method Details- 
getMessage- Specified by:
- getMessagein interface- org.springframework.context.MessageSource
 
- 
getMessagepublic String getMessage(String code, Object[] args, Locale locale) throws org.springframework.context.NoSuchMessageException - Specified by:
- getMessagein interface- org.springframework.context.MessageSource
- Throws:
- org.springframework.context.NoSuchMessageException
 
- 
getMessagepublic String getMessage(org.springframework.context.MessageSourceResolvable resolvable, Locale locale) throws org.springframework.context.NoSuchMessageException - Specified by:
- getMessagein interface- org.springframework.context.MessageSource
- Throws:
- org.springframework.context.NoSuchMessageException
 
 
-