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

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu Sep 24 12:01:50 EDT 2009


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.0.0.GA



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