public interface ISettingsPersistenceHandler
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getSettingValue(ISettingDefinition<T> settingDefinition)
Retrieves the value related to a given setting definition.
|
void |
load()
Load all settings that're managed by this persistence handler.
|
void |
save(ISettingsCollection settingsCollection)
Requests to save all settings defined in the given settings collection.
|
void |
setManagedComponent(IManagedComponent managedComponent)
Sets the managed component for which this settings persistence handler instance is providing
persistency services.
|
void setManagedComponent(IManagedComponent managedComponent)
managedComponent - The management component.void save(ISettingsCollection settingsCollection) throws SettingsPersistenceException
settingsCollection - the settings collection to be saved.SettingsPersistenceException - thrown when saving of this collection fails.void load()
throws SettingsPersistenceException
SettingsPersistenceException - thrown when loading of this collection fails.<T> T getSettingValue(ISettingDefinition<T> settingDefinition)
settingDefinition - the definition of the setting whose value is to be retrieved.