List of usage examples for org.springframework.context.support ReloadableResourceBundleMessageSource subclass-usage
From source file org.openlmis.notification.i18n.ExposedMessageSourceImpl.java
@Component public class ExposedMessageSourceImpl extends ReloadableResourceBundleMessageSource implements ExposedMessageSource { protected Properties getAllProperties(Locale locale) { clearCacheIncludingAncestors();
From source file org.openlmis.fulfillment.i18n.ExposedMessageSourceImpl.java
@Component public class ExposedMessageSourceImpl extends ReloadableResourceBundleMessageSource implements ExposedMessageSource { protected Properties getAllProperties(Locale locale) { clearCacheIncludingAncestors();
From source file net.jawr.web.resource.bundle.locale.message.grails.GrailsBundleMessageSource.java
/** * This class defines a MessageSource used by the for Jawr Grails plugin * * @author Ibrahim Chaehoi */ public class GrailsBundleMessageSource extends ReloadableResourceBundleMessageSource {
From source file org.broadleafcommerce.common.util.BroadleafMergeResourceBundleMessageSource.java
/**
* <p>Replaces the deprecated {@link BLResourceBundleMessageSource} by using a {@link ReloadableResourceBundleMessageSource}
* instead. The main advantage of using this is the out-of-the-box ability to merge multiple property files together. There
* is one important difference: When there is a conflict for a property (declared in multiple files) this implementation
* assumes that the <i>later</i> one in the list takes precedence. This follows with normal Broadleaf assumptions that bean
* definitions declared later in the merge process win.</p>
From source file org.owasp.webgoat.i18n.Messages.java
/**
* <p>ExposedReloadableResourceMessageBundleSource class.</p>
* Extends the reloadable message source with a way to get all messages
*
* @author zupzup
*/
From source file eu.europa.ejusticeportal.dss.demo.web.util.LocalMessageSource.java
public class LocalMessageSource extends ReloadableResourceBundleMessageSource { public Properties getProperties() { return getMergedProperties(Locale.ENGLISH).getProperties(); }
From source file org.opentides.context.support.PatternResourceBundleMessageSource.java
/**
* Extension of ReloadableResourceBundleMessageSource to support pattern based
* matching of resource files. Please note that this matcher is limited and
* designed for pattern like xyz-messages.properties.
*
* @author allantan
From source file net.sourceforge.vulcan.spring.DelegatingResourceBundleMessageSource.java
public class DelegatingResourceBundleMessageSource extends ReloadableResourceBundleMessageSource { private Set<ApplicationContext> delegates = new HashSet<ApplicationContext>(); private boolean recurseFlag; private boolean useCodeAsDefaultMessage;
From source file org.owasp.webgoat.i18n.PluginMessages.java
/**
* Message resource bundle for plugins.
*
* @author nbaars
* @date 2/4/17
*/
From source file org.jbb.lib.mvc.WildcardReloadableResourceBundleMessageSource.java
/** * Source: http://springrules.blogspot.com/2014/09/using-wildcards-for-spring.html */ @Slf4j public class WildcardReloadableResourceBundleMessageSource extends ReloadableResourceBundleMessageSource { private static final String PROPERTIES_SUFFIX = ".properties";