Class MessagesDefaultBasenameAddingPostProcessor
java.lang.Object
com.broadleafcommerce.common.extension.i18n.MessagesDefaultBasenameAddingPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public abstract class MessagesDefaultBasenameAddingPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
Appends our default basename to the basenames set for the
MessageSource
at the lowest
priority, so any message bundles defined by a user will take precedence.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addMessagesDefaultBasenames
(Set<String> basenames) Adds the default basenames to the messages basename set.postProcessBeforeInitialization
(Object bean, String beanName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessAfterInitialization
-
Constructor Details
-
MessagesDefaultBasenameAddingPostProcessor
public MessagesDefaultBasenameAddingPostProcessor()
-
-
Method Details
-
postProcessBeforeInitialization
- Specified by:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
-
addMessagesDefaultBasenames
Adds the default basenames to the messages basename set.- Parameters:
basenames
- The existing basenames to add to.
-