public class StoredBundleControl extends ResourceBundle.Control implements org.tentackle.pdo.DomainContextProvider
| Modifier and Type | Field and Description |
|---|---|
static boolean |
fallbackToPropertyFile
Controls whether property file should be tried if no stored bundle found.
Default is to fallback to |
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL| Constructor and Description |
|---|
StoredBundleControl() |
| Modifier and Type | Method and Description |
|---|---|
org.tentackle.pdo.DomainContext |
getDomainContext() |
List<String> |
getFormats(String baseName) |
ResourceBundle |
newBundle(String baseName,
Locale locale,
String format,
ClassLoader loader,
boolean reload) |
getCandidateLocales, getControl, getFallbackLocale, getNoFallbackControl, getTimeToLive, needsReload, toBundleName, toResourceNamepublic static boolean fallbackToPropertyFile
public org.tentackle.pdo.DomainContext getDomainContext()
getDomainContext in interface org.tentackle.pdo.DomainContextProviderpublic List<String> getFormats(String baseName)
getFormats in class ResourceBundle.Controlpublic ResourceBundle newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload) throws IllegalAccessException, InstantiationException, IOException
newBundle in class ResourceBundle.ControlIllegalAccessExceptionInstantiationExceptionIOExceptionTentackle - a domain driven enterprise framework