public class LDAPBusConfigSettingsPersistenceHandler extends java.lang.Object implements ISettingsPersistenceHandler
Constructor and Description |
---|
LDAPBusConfigSettingsPersistenceHandler(LDAPEntry entry,
LDAPDirectory directory,
int processorConfigurationNode)
Consctructs an LDAP bus config settings persistence handler for the given LDAP entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getSettingValue(ISettingDefinition 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 |
setConfigurationNode(int configurationNode) |
void |
setManagedComponent(IManagedComponent managedComponent)
Sets the managed component for which this settings persistence handler instance is providing
persistency services.
|
public LDAPBusConfigSettingsPersistenceHandler(LDAPEntry entry, LDAPDirectory directory, int processorConfigurationNode)
entry
- The LDAP entry hosting the bus config settings.directory
- The directory in which the LDAP settings are stored.processorConfigurationNode
- The NOM node of the bus config settings.public void setManagedComponent(IManagedComponent managedComponent)
ISettingsPersistenceHandler
setManagedComponent
in interface ISettingsPersistenceHandler
managedComponent
- The management component.public void save(ISettingsCollection settingsCollection) throws SettingsPersistenceException
ISettingsPersistenceHandler
save
in interface ISettingsPersistenceHandler
settingsCollection
- the settings collection to be saved.SettingsPersistenceException
- thrown when saving of this collection fails.public void load()
ISettingsPersistenceHandler
load
in interface ISettingsPersistenceHandler
public java.lang.Object getSettingValue(ISettingDefinition settingDefinition)
ISettingsPersistenceHandler
getSettingValue
in interface ISettingsPersistenceHandler
settingDefinition
- the definition of the setting whose value is to be retrieved.public void setConfigurationNode(int configurationNode)