Package io.jmix.core.impl
Class JmixMessageSource
java.lang.Object
org.springframework.context.support.MessageSourceSupport
org.springframework.context.support.AbstractMessageSource
org.springframework.context.support.AbstractResourceBasedMessageSource
org.springframework.context.support.ReloadableResourceBundleMessageSource
io.jmix.core.impl.JmixMessageSource
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.HierarchicalMessageSource
,org.springframework.context.MessageSource
,org.springframework.context.ResourceLoaderAware
public class JmixMessageSource
extends org.springframework.context.support.ReloadableResourceBundleMessageSource
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.context.support.ReloadableResourceBundleMessageSource
org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
-
Field Summary
Fields inherited from class org.springframework.context.support.MessageSourceSupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
addModuleBasename
(String moduleBasePackage) calculateFilenamesForLocale
(String basename, Locale locale) void
setResourceLoader
(org.springframework.core.io.ResourceLoader resourceLoader) Methods inherited from class org.springframework.context.support.ReloadableResourceBundleMessageSource
calculateAllFilenames, clearCache, clearCacheIncludingAncestors, getMergedProperties, getProperties, loadProperties, newProperties, refreshProperties, resolveCode, resolveCodeWithoutArguments, resolveResource, setConcurrentRefresh, setFileEncodings, setFileExtensions, setPropertiesPersister, toString
Methods inherited from class org.springframework.context.support.AbstractResourceBasedMessageSource
addBasenames, getBasenameSet, getCacheMillis, getDefaultEncoding, getDefaultLocale, isFallbackToSystemLocale, setBasename, setBasenames, setCacheMillis, setCacheSeconds, setDefaultEncoding, setDefaultLocale, setFallbackToSystemLocale
Methods inherited from class org.springframework.context.support.AbstractMessageSource
getCommonMessages, getDefaultMessage, getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, resolveArguments, setCommonMessages, setParentMessageSource, setUseCodeAsDefaultMessage
Methods inherited from class org.springframework.context.support.MessageSourceSupport
createMessageFormat, formatMessage, isAlwaysUseMessageFormat, renderDefaultMessage, setAlwaysUseMessageFormat
-
Constructor Details
-
JmixMessageSource
-
-
Method Details
-
addModuleBasename
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) - Specified by:
setResourceLoader
in interfaceorg.springframework.context.ResourceLoaderAware
- Overrides:
setResourceLoader
in classorg.springframework.context.support.ReloadableResourceBundleMessageSource
-
calculateFilenamesForLocale
- Overrides:
calculateFilenamesForLocale
in classorg.springframework.context.support.ReloadableResourceBundleMessageSource
-