Package org.joinfaces.i18n
Class MessageSourceBridge
This class wraps an
MessageSource and exposes it through the
Map API so it can be easily accessed from JSF.-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionMessageSourceBridge(org.springframework.context.MessageSource messageSource) MessageSourceBridge(org.springframework.context.support.MessageSourceAccessor messageSourceAccessor) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanentrySet()booleaninthashCode()voidsetMessageSourceAccessor(org.springframework.context.support.MessageSourceAccessor messageSourceAccessor) toString()Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, isEmpty, keySet, put, putAll, remove, size, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MessageSourceBridge
public MessageSourceBridge(org.springframework.context.MessageSource messageSource) -
MessageSourceBridge
public MessageSourceBridge() -
MessageSourceBridge
public MessageSourceBridge(org.springframework.context.support.MessageSourceAccessor messageSourceAccessor)
-
-
Method Details
-
get
-
entrySet
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classAbstractMap<String,String>
-
setMessageSourceAccessor
public void setMessageSourceAccessor(org.springframework.context.support.MessageSourceAccessor messageSourceAccessor)
-