Package org.mycore.common.config
Class MCRConfigurationBase
java.lang.Object
org.mycore.common.config.MCRConfigurationBase
-
Method Summary
Modifier and TypeMethodDescriptionprotected static MCRProperties
protected static MCRProperties
protected static MCRProperties
Returns the configuration property with the specified name as a String.static long
returns the last point in time when the MyCoRe system was last modified.static void
protected static void
Substitute all %properties%.static void
signalize that the system state has changed.
-
Method Details
-
getSystemLastModified
public static long getSystemLastModified()returns the last point in time when the MyCoRe system was last modified. This method can help you to validate caches not under your controll, e.g. client caches.- See Also:
-
systemModified
public static void systemModified()signalize that the system state has changed. Call this method when ever you changed the persistency layer. -
resolveProperties
protected static void resolveProperties()Substitute all %properties%. -
getResolvedProperties
-
getBaseProperties
-
getDeprecatedProperties
-
getString
Returns the configuration property with the specified name as a String.- Parameters:
name
- the non-null and non-empty name of the configuration property- Returns:
- the value of the configuration property as a String
- Throws:
MCRConfigurationException
- if the properties are not initialized
-
initialize
-