|
||||||||||
| 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)
Creates a new CachingResourceBundleLocator. |
|
| Method Summary | |
|---|---|
java.util.ResourceBundle |
getResourceBundle(java.util.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 |
|---|
public CachingResourceBundleLocator(ResourceBundleLocator delegate)
delegate - The locator from which the values actually will be retrieved.| Method Detail |
|---|
public java.util.ResourceBundle getResourceBundle(java.util.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 | |||||||||