public abstract class DelegatingResourceBundleLocator extends Object implements ResourceBundleLocator, ResourceBundleLocator
ResourceBundleLocator
implementations, that
wish to delegate to some other locator.Constructor and Description |
---|
DelegatingResourceBundleLocator(ResourceBundleLocator delegate)
Deprecated.
Will be removed in a future release. Use
DelegatingResourceBundleLocator(org.hibernate.validator.spi.resourceloading.ResourceBundleLocator)
instead. |
DelegatingResourceBundleLocator(ResourceBundleLocator delegate)
Creates a new
DelegatingResourceBundleLocator . |
@Deprecated public DelegatingResourceBundleLocator(ResourceBundleLocator delegate)
DelegatingResourceBundleLocator(org.hibernate.validator.spi.resourceloading.ResourceBundleLocator)
instead.DelegatingResourceBundleLocator
.delegate
- The delegate.public DelegatingResourceBundleLocator(ResourceBundleLocator delegate)
DelegatingResourceBundleLocator
.delegate
- The delegate.public ResourceBundle getResourceBundle(Locale locale)
ResourceBundleLocator
getResourceBundle
in interface ResourceBundleLocator
locale
- A locale, for which a resource bundle shall be retrieved. Must
not be null.Copyright © 2018 JBoss by Red Hat. All rights reserved.