protected Map<String,String> resolveMessagesForTemplate(
            final String template, final ITemplateResource templateResource, final Locale locale) {
        return StandardMessageResolutionUtils.resolveMessagesForTemplate(templateResource, locale);
    }
protected Map < String , String > resolveMessagesForTemplate ( final String template , final ITemplateResource templateResource , final Locale locale ) { return StandardMessageResolutionUtils . resolveMessagesForTemplate ( templateResource , locale ) ; }
<p>
Resolve messages for a specific template and locale.
</p>
<p>
This is meant to be overridden by subclasses if necessary, so that the way in which messages
are obtained for a specific template can be modified without changing the rest of the
message resolution mechanisms.
</p>
<p>
The standard mechanism will look for {@code .properties} files at the same location as
the template (using the same resource resolution mechanism), and with the same name base.
</p>

@param template the template
@param templateResource the template resource
@param locale the locale
@return a Map containing all the possible messages for the specified template and locale. Can return null.