
public class ConfigurationDAOWrapper extends Object implements HasLifecycle, ConfigurationListener
ConfigurationListener.ConfigurationOperationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostBuild, postInit, postShutdown, postStart, shutdown, startconfigurationChangedpublic void build()
HasLifecyclebuild in interface HasLifecyclepublic void init()
HasLifecycleSubsystem at initialization
phase.
This method is called before the children components of this
object have their init method called.
At the time it is called, connection to the messaging layer is not yet
done, so there should be no attempt to send messages in the body of
this method. Configuration for message listening can nevertheless be
done here, such as adding MessageListener
objects.
It is unnecessary to call super.init()
init in interface HasLifecyclepublic Properties getConfigurationProperties(String tag, String category) throws ConfigurationServiceException
ConfigurationServiceExceptionpublic ConfigurationView loadConfiguration(ConfigurationDescription configDescription) throws ConfigurationServiceException
ConfigurationServiceExceptionpublic ConfigurationView loadGlobalConfiguration(String name, int version)
public ConfigurationDescription saveChangesForCategoriesAs(ConfigurationDescription configDesc, ConfigurationInfo configInfo, boolean fullConfiguration) throws ConfigurationServiceException
ConfigurationServiceExceptionpublic ConfigurationDescription registerConfiguration(ConfigurationInfo configInfo) throws ConfigurationServiceException
ConfigurationServiceExceptionpublic boolean isAvailable()
public Set<String> findAvailableConfigurationsForCategory(String category)
public String locateConfigurations(ConfigurationInfo configInfo)
public void configurationChanged(ConfigurationInfo newConfigurationInfo, ConfigurationInfo oldConfigurationInfo, ConfigurationListener.ConfigurationOperation configurationOperation)
ConfigurationListenerConfigurationInfo#diff on the new ConfigurationInfo object
with the old ConfigurationInfo as its argument.configurationChanged in interface ConfigurationListenernewConfigurationInfo - The current ConfigurationInfo object.
It reflects the latest configuration information.oldConfigurationInfo - The previous ConfigurationInfo object.
It reflects the overall configuration before the changes.configurationOperation - The type of configuration operation that was
performed.Copyright © 2020 LSST. All rights reserved.