|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.resourceloading.DelegatingResourceBundleLocator
org.hibernate.validator.resourceloading.CachingResourceBundleLocator
public class CachingResourceBundleLocator
A ResourceBundleLocator implementation that wraps around another
locator and caches values retrieved from that locator.
| Constructor Summary | |
|---|---|
CachingResourceBundleLocator(ResourceBundleLocator delegate)
Deprecated. Will be removed in a future release. Use CachingResourceBundleLocator(ResourceBundleLocator)
instead. |
|
CachingResourceBundleLocator(ResourceBundleLocator delegate)
Creates a new CachingResourceBundleLocator. |
|
| Method Summary | |
|---|---|
ResourceBundle |
getResourceBundle(Locale locale)
Returns a resource bundle for the given locale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public CachingResourceBundleLocator(ResourceBundleLocator delegate)
CachingResourceBundleLocator(ResourceBundleLocator)
instead.
delegate - The locator from which the values actually will be retrieved.public CachingResourceBundleLocator(ResourceBundleLocator delegate)
delegate - The locator from which the values actually will be retrieved.| Method Detail |
|---|
public ResourceBundle getResourceBundle(Locale locale)
ResourceBundleLocator
getResourceBundle in interface ResourceBundleLocatorgetResourceBundle in class DelegatingResourceBundleLocatorlocale - A locale, for which a resource bundle shall be retrieved. Must
not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||