<p>Hi Matt,</p>
<p>You can find the discussion around the original proposal back from February at <br>
<a href="http://lists.jboss.org/pipermail/beanvalidation-dev/2012-February/000248.html">http://lists.jboss.org/pipermail/beanvalidation-dev/2012-February/000248.html</a> </p>
<p>--Gunnar</p>
<div class="gmail_quote">Am 12.06.2012 23:53 schrieb &quot;Matt Benson&quot; &lt;<a href="mailto:mbenson@apache.org">mbenson@apache.org</a>&gt;:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can someone point me to the initial discussion around the original<br>
ConfigurationSource changes?  I have some concerns but I&#39;d like to be<br>
able to study up to be sure I understand the decisions that were made<br>
(despite this thread&#39;s implying that the changes aren&#39;t set in stone).<br>
<br>
Thanks,<br>
Matt<br>
<br>
On Tue, Jun 12, 2012 at 3:50 PM, Gunnar Morling &lt;<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>&gt; wrote:<br>
&gt; Any preferences or other suggestions?<br>
&gt;<br>
&gt; --Gunnar<br>
&gt;<br>
&gt;<br>
&gt; 2012/6/2 Gunnar Morling &lt;<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>&gt;:<br>
&gt;&gt; 2012/6/1 Emmanuel Bernard &lt;<a href="mailto:emmanuel@hibernate.org">emmanuel@hibernate.org</a>&gt;:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; We can also imagine a specific provider offering an alternative source of configuration and using this interface to expose it.<br>
&gt;&gt;&gt; That was the rational behind the use of &quot;typically&quot;.<br>
&gt;&gt;<br>
&gt;&gt; Maybe some bits of explantation would make it clearer?<br>
&gt;&gt;<br>
&gt;&gt; &quot;Return information retrieved from the user-provided default<br>
&gt;&gt; configuration. While loaded from the &lt;i&gt;META-INF/validation.xml&lt;/i&gt;<br>
&gt;&gt; file by default, implementations are free to provide other means of<br>
&gt;&gt; default configuration such as a properties file.&quot;<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; * What do I return if there is no validation.xml? null? Or the class names of the implementations default implementations?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Good question, I&#39;m in favor of null. anyone against that?<br>
&gt;&gt;<br>
&gt;&gt; +1 for returning null.<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; * Last but not least, why ConfigurationSource?<br>
&gt;&gt;&gt; Technically this is the configuration but we already have a programmatic Configuration object.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Ideas?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - XmlConfiguration<br>
&gt;&gt;&gt; - StaticConfiguration<br>
&gt;&gt;&gt; - ConfigurationSource<br>
&gt;&gt;&gt; - ConfigurationParameters<br>
&gt;&gt;&gt; - ?<br>
&gt;&gt;<br>
&gt;&gt; Some more ideas:<br>
&gt;&gt;<br>
&gt;&gt; - DefaultConfiguration<br>
&gt;&gt; - UserDefaultConfiguration<br>
&gt;&gt; - ExternalConfiguration<br>
&gt;&gt; - BootstrapConfiguration<br>
&gt;&gt;<br>
&gt;&gt; I find the term &quot;source&quot; a bit mis-leading, as I would regard<br>
&gt;&gt; something like &quot;XML&quot; or &quot;properties file&quot; as source, but the returned<br>
&gt;&gt; object from that source as &quot;configuration&quot;. I think I&#39;m preferring<br>
&gt;&gt; (User)DefaultConfiguration, as it IMO clearly describes the object&#39;s<br>
&gt;&gt; intention.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve created BVAL-293 [1] for any clarifications/refinements around<br>
&gt;&gt; ConfigurationSource.<br>
&gt;&gt;<br>
&gt;&gt; --Gunnar<br>
&gt;&gt;<br>
&gt;&gt; [1] <a href="https://hibernate.onjira.com/browse/BVAL-293" target="_blank">https://hibernate.onjira.com/browse/BVAL-293</a><br>
&gt; _______________________________________________<br>
&gt; beanvalidation-dev mailing list<br>
&gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><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>
</blockquote></div>