public interface MetadataMessagesBasename
Stores a classpath-relative location to a message bundle, intended to be used in a
MessageSource
.
NOTE: The bundle name should be unique or an exception
MetadataI18nInitializationException
will be thrown.
To register this basename, add an entry into spring.factories with this FQN as the key, and the value as the custom basename to add. Example:
com.broadleafcommerce.metadata.i18n.MetadataMessagesBasename = com.mycompany.MyCustomBasename
org.springframework.context.support.ResourceBundleMessageSource
,
MetadataI18nInitializationException
Modifier and Type | Method and Description |
---|---|
String |
getBasename()
The classpath-relative location of the base name for a message bundle.
|
@NonNull String getBasename()
Copyright © 2021. All rights reserved.