[
https://hibernate.onjira.com/browse/HV-556?page=com.atlassian.jira.plugin...
]
Gunnar Morling commented on HV-556:
-----------------------------------
We may also consider to only have {{ResourceBundleLocator}} in the public part,
accompanied by a factory for creating instances as needed:
{code}
//returns PlatformResourceBundleLocator
ResourceBundleLocator locator = new
ResourceBundleLocatorFactory().forBundle("foo");
//returns AggregateResourceBundleLocator
ResourceBundleLocator locator = new
ResourceBundleLocatorFactory().forBundles("foo", "bar");
{code}
Make AggregateResourceBundleLocator an interface to be included into
the public api of HV
-----------------------------------------------------------------------------------------
Key: HV-556
URL:
https://hibernate.onjira.com/browse/HV-556
Project: Hibernate Validator
Issue Type: Bug
Affects Versions: 4.2.0.Final
Reporter: Hardy Ferentschik
Fix For: 5.x
Currently _AggregateResourceBundleLocator_ is a class, but as part of the
spi/public/internal split it should become an interface which is part of the public api.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira