public class EntityPropertiesServiceSpringImpl extends AbstractEntityPropertiesService implements EntityPropertiesService
| Modifier and Type | Class and Description |
|---|---|
protected class |
EntityPropertiesServiceSpringImpl.SpringMessageBundle |
AbstractEntityPropertiesService.MessageBundleprefixMap| Constructor and Description |
|---|
EntityPropertiesServiceSpringImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
registerLocaleMessages(String prefix,
String baseName,
Locale locale,
ClassLoader classLoader)
Override this to provide custom message handling,
you must register the
AbstractEntityPropertiesService.MessageBundle you create in this method so that the
messages can be looked up later, register using AbstractEntityPropertiesService.registerPrefixMessageBundle(String, MessageBundle) |
getLocale, getProperty, getProperty, getProperty, loadProperties, registerPrefixMessageBundle, unloadProperties, unregisterPrefixMessageBundleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocale, getProperty, getProperty, getProperty, loadProperties, unloadPropertiespublic List<String> registerLocaleMessages(String prefix, String baseName, Locale locale, ClassLoader classLoader)
AbstractEntityPropertiesServiceAbstractEntityPropertiesService.MessageBundle you create in this method so that the
messages can be looked up later, register using AbstractEntityPropertiesService.registerPrefixMessageBundle(String, MessageBundle)registerLocaleMessages in class AbstractEntityPropertiesServiceprefix - an entity prefixbaseName - (optional) the part before the .properties or _en.properties,
example: location/dir/myentity.properties, if null then prefix is usedlocale - the Locale to register messages forclassLoader - (optional) the ClassLoader to find the properties files in,
if null then the default thread ClassLoader is usedCopyright © 2007–2018 CARET, University of Cambridge. All rights reserved.