Class CachingResourceBundleLocator
java.lang.Object
org.hibernate.validator.resourceloading.DelegatingResourceBundleLocator
org.hibernate.validator.resourceloading.CachingResourceBundleLocator
- All Implemented Interfaces:
ResourceBundleLocator
A
ResourceBundleLocator implementation that wraps around another
locator and caches values retrieved from that locator.- Author:
- Gunnar Morling, Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CachingResourceBundleLocator. -
Method Summary
Methods declared in class DelegatingResourceBundleLocator
getResourceBundle
-
Constructor Details
-
CachingResourceBundleLocator
Creates a new CachingResourceBundleLocator.- Parameters:
delegate- The locator from which the values actually will be retrieved.
-