org.springframework.context.support
Class ReloadableResourceBundleMessageSource.PropertiesHolder
java.lang.Object
org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- Enclosing class:
- ReloadableResourceBundleMessageSource
- protected class ReloadableResourceBundleMessageSource.PropertiesHolder
- extends Object
PropertiesHolder for caching.
Stores the last-modified timestamp of the source file for efficient
change detection, and the timestamp of the last refresh attempt
(updated every time the cache entry gets re-validated).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReloadableResourceBundleMessageSource.PropertiesHolder
protected ReloadableResourceBundleMessageSource.PropertiesHolder(Properties properties,
long fileTimestamp)
ReloadableResourceBundleMessageSource.PropertiesHolder
protected ReloadableResourceBundleMessageSource.PropertiesHolder()
getProperties
protected Properties getProperties()
getFileTimestamp
protected long getFileTimestamp()
setRefreshTimestamp
protected void setRefreshTimestamp(long refreshTimestamp)
getRefreshTimestamp
protected long getRefreshTimestamp()
getProperty
protected String getProperty(String code)
getMessageFormat
protected MessageFormat getMessageFormat(String code,
Locale locale)
Copyright (C) 2003-2004 The Spring Framework Project.