[hibernate-issues] [Hibernate-JIRA] Commented: (HV-238) Introduce a ResourceBundleLocatorStrategy interface which allows the ResourceBundleMessageInterpolator to delegate the loading of the resource bundle

Emmanuel Bernard (JIRA) noreply at atlassian.com
Tue Feb 16 03:32:32 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35577#action_35577 ] 

Emmanuel Bernard commented on HV-238:
-------------------------------------

ResourceBundleLocator is likely to be a better name.

> Introduce a ResourceBundleLocatorStrategy interface which allows the ResourceBundleMessageInterpolator to delegate the loading of the resource bundle
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HV-238
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-238
>             Project: Hibernate Validator
>          Issue Type: New Feature
>          Components: engine
>    Affects Versions: 4.0.0.CR1
>            Reporter: Hardy Ferentschik
>             Fix For: 4.1.0
>
>
> Subject: Re: Bean validation dans Spring
> Hi Emmanuel,
> thanx for your feedback. I'm answering in English so I can cc Juergen. 
> So far, we have provided our own implementation of MessageInterpolator as you have suggested. The thing is that it forces us to copy and paste a big piece of code which is not ideal on the long term. 
> Juergen was suggesting a few possible minor enhancements on Hibernate Validator, that would allow us to plug in a custom ResourceBundle:
> - Either making the existing getFileBasedResourceBundle(Locale) method protected instead of private.
> - Or introducing a corresponding strategy interface that ResourceBundleMessageInterpolator can be constructed with

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list