hi hardy,<div><br></div><div>maybe it isn&#39;t that obvious since a ResourceBundleLocator isn&#39;t only about resource-bundles - see [1] and [2] -&gt; i don&#39;t agree that it&#39;s a better name (since it&#39;s something slightly different).</div>

<div>if we can&#39;t agree on MessageResolver, i would suggest MessageSource (similar to [3]).</div><div><br></div><div><font color="#222222" face="arial, sans-serif">regards,</font></div><div><font color="#222222" face="arial, sans-serif">gerhard</font></div>

<div><br></div><div>[1] <a href="https://svn.apache.org/repos/asf/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/MessageResolver.java">https://svn.apache.org/repos/asf/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/MessageResolver.java</a><br>

[2] <a href="https://svn.apache.org/repos/asf/myfaces/extensions/cdi/tags/extcdi-1.0.5/jse-modules/message-module/api/src/main/java/org/apache/myfaces/extensions/cdi/message/api/MessageResolver.java">https://svn.apache.org/repos/asf/myfaces/extensions/cdi/tags/extcdi-1.0.5/jse-modules/message-module/api/src/main/java/org/apache/myfaces/extensions/cdi/message/api/MessageResolver.java</a><br>

[3] <a href="http://static.springsource.org/spring/docs/3.1.x/javadoc-api/org/springframework/context/MessageSource.html">http://static.springsource.org/spring/docs/3.1.x/javadoc-api/org/springframework/context/MessageSource.html</a><br>

<br><br><br><div class="gmail_quote">2012/6/24 Hardy Ferentschik <span dir="ltr">&lt;<a href="mailto:hardy@hibernate.org" target="_blank">hardy@hibernate.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
On Jun 24, 2012, at 11:57 AM, Gerhard Petracek wrote:<br>
<br>
&gt; one of the first topics was to split MessageInterpolator (-&gt; MessageInterpolator + MessageResolver).<br>
&gt; however, as i see the jira ticket [1] is still not resolved.<br>
<br>
</div>Ahh, right. That&#39;s what Hibernate Validator calls ResourceBundleLocator (imo a better name).<br>
<div class="im"><br>
&gt; since it&#39;s a pretty obvious topic, i thought we are done with it.<br>
<br>
</div>+1 I think there are several issues which we talked a lot about, but never made a final decision.<br>
Regarding this particular issue we never talked about concrete name and interface for the functionality.<br>
<br>
Hibernate Validator uses:<br>
<br>
public interface ResourceBundleLocator {<br>
<br>
        /**<br>
         * Returns a resource bundle for the given locale.<br>
         *<br>
         * @param locale A locale, for which a resource bundle shall be retrieved. Must<br>
         * not be null.<br>
         *<br>
         * @return A resource bundle for the given locale. May be null, if no such<br>
         *         bundle exists.<br>
         */<br>
        ResourceBundle getResourceBundle(Locale locale);<br>
}<br>
<br>
Does this sound reasonable?<br>
<br>
Seems there is a whole bunch of issues related (directly and indirectly)  to this:<br>
<br>
[1] <a href="https://hibernate.onjira.com/browse/BVAL-217" target="_blank">https://hibernate.onjira.com/browse/BVAL-217</a><br>
[2] <a href="https://hibernate.onjira.com/browse/BVAL-250" target="_blank">https://hibernate.onjira.com/browse/BVAL-250</a><br>
[3] <a href="https://hibernate.onjira.com/browse/BVAL-233" target="_blank">https://hibernate.onjira.com/browse/BVAL-233</a><br>
<div class="HOEnZb"><div class="h5"><br>
--Hardy<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
beanvalidation-dev mailing list<br>
<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>
</div></div></blockquote></div><br></div>