Class GrouperClientConfig
java.lang.Object
edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase
edu.internet2.middleware.grouperClient.util.GrouperClientConfig
hierarchical config class for grouper.client.properties
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase
ConfigPropertiesCascadeBase.ConfigFile, ConfigPropertiesCascadeBase.ConfigFileType -
Method Summary
Modifier and TypeMethodDescriptionvoidif there are things that are calculated, clear them out (e.g.protected Class<?>if its ok to put the config file in the same directory as a jar, then return a class in the jar hereprotected Stringconfig key of the hierarchy valueprotected Stringget the main config classpath, e.g.protected Stringget the example config classpath, e.g.protected Stringconfig key of the time in seconds to check config.static GrouperClientConfigretrieve a config from the config file or from cacheretrieveGrouperMessagingConfigNonNull(String systemName) get a messaging config cant be nullprocess configs for messaging and return the mapMethods inherited from class edu.internet2.middleware.grouperClient.config.ConfigPropertiesCascadeBase
assertPropertyValueBoolean, assertPropertyValueClass, assertPropertyValueRequired, assignInitted, clearCache, clearCacheThisOnly, configExistsNotInBaseOrDatabase, containsKey, filesNeedReloadingBasedOnContents, getMainConfigFileName, getTimeToCheckConfigSeconds, hasExpressionLanguage, internalProperties, internalRetrieveConfigFiles, isInDatabase, logError, logInfo, needToCheckIfFilesNeedReloading, properties, propertiesFromResourceName, propertiesFromResourceName, propertiesHelper, propertiesMap, propertiesOverrideMap, propertiesThreadLocalOverrideMap, propertyConfigIds, propertyNames, propertyValueBoolean, propertyValueBoolean, propertyValueBoolean, propertyValueBooleanRequired, propertyValueInt, propertyValueInt, propertyValueInt, propertyValueIntRequired, propertyValueString, propertyValueString, propertyValueString, propertyValueStringHelper, propertyValueStringRequired, rawExpressionLanguage, retrieveConfig, retrieveFromConfigFileOrCache, retrieveFromConfigFiles, retrieveFromConfigFiles, substituteCommonVars, substituteLocalReferencesAndUnicode, substituteLocalReferencesOneField, substituteLocalReferencesOneSubstitution, substituteUnicode
-
Method Details
-
retrieveConfig
retrieve a config from the config file or from cache- Returns:
- the config object
-
clearCachedCalculatedValues
public void clearCachedCalculatedValues()Description copied from class:ConfigPropertiesCascadeBaseif there are things that are calculated, clear them out (e.g. if an override is set)- Specified by:
clearCachedCalculatedValuesin classConfigPropertiesCascadeBase- See Also:
-
getHierarchyConfigKey
Description copied from class:ConfigPropertiesCascadeBaseconfig key of the hierarchy value- Specified by:
getHierarchyConfigKeyin classConfigPropertiesCascadeBase- Returns:
- the classpath of the main config file
- See Also:
-
getMainConfigClasspath
Description copied from class:ConfigPropertiesCascadeBaseget the main config classpath, e.g. grouper.properties- Specified by:
getMainConfigClasspathin classConfigPropertiesCascadeBase- Returns:
- the classpath of the main config file
- See Also:
-
getMainExampleConfigClasspath
Description copied from class:ConfigPropertiesCascadeBaseget the example config classpath, e.g. grouper.example.properties- Specified by:
getMainExampleConfigClasspathin classConfigPropertiesCascadeBase- Returns:
- the classpath of the example config file
- See Also:
-
getSecondsToCheckConfigKey
Description copied from class:ConfigPropertiesCascadeBaseconfig key of the time in seconds to check config. -1 means dont check again- Specified by:
getSecondsToCheckConfigKeyin classConfigPropertiesCascadeBase- Returns:
- config key
- See Also:
-
getClassInSiblingJar
Description copied from class:ConfigPropertiesCascadeBaseif its ok to put the config file in the same directory as a jar, then return a class in the jar here- Overrides:
getClassInSiblingJarin classConfigPropertiesCascadeBase- Returns:
- the class or null if not available
- See Also:
-
retrieveGrouperMessagingConfigNonNull
get a messaging config cant be null- Parameters:
systemName-- Returns:
- the config
-
retrieveGrouperMessagingConfigs
process configs for messaging and return the map- Returns:
- the configs
-