Search in sources :

Example 1 with CachingPathMatchingResourcePatternResolver

use of org.grails.core.io.CachingPathMatchingResourcePatternResolver in project grails-core by grails.

the class PluginAwareResourceBundleMessageSource method setResourceLoader.

@Override
public void setResourceLoader(ResourceLoader resourceLoader) {
    super.setResourceLoader(resourceLoader);
    this.localResourceLoader = resourceLoader;
    if (resourceResolver == null) {
        resourceResolver = new CachingPathMatchingResourcePatternResolver(localResourceLoader);
    }
}
Also used : CachingPathMatchingResourcePatternResolver(org.grails.core.io.CachingPathMatchingResourcePatternResolver)

Aggregations

CachingPathMatchingResourcePatternResolver (org.grails.core.io.CachingPathMatchingResourcePatternResolver)1