
public class ConfigurationServerModule extends Module implements ConfigurationService
Module.ValueUpdateConfigurable.Environmentenvironment, name, nObserverThreads, tickMillis| Constructor and Description |
|---|
ConfigurationServerModule() |
ConfigurationServerModule(ConfigurationServiceImpl service) |
| Modifier and Type | Method and Description |
|---|---|
ProfileResult |
deprecateConfigProfile(String subsystemName,
String name,
String tag)
Deprecates a valid Configuration Profile.
|
DescriptionResult |
deprecateSubsystemDescription(String subsystemName,
String tag)
Deprecates a registered subsystem.
|
ConfigProfile |
getActiveConfigProfile(String subsystemName,
String name,
String tag)
gets an active ConfigProfile with anme and tag
|
SubsystemDescription |
getActiveSubsystemDescription(String name,
String tag)
fetch the active Description with name and tag
|
String |
getActiveValueAt(String subsystemName,
String parameterPath,
long date)
gets the value of a parameter for a subsystem which was active at a moment in time.
|
ConfigProfile |
getConfigRunningAt(String subsystemName,
long date)
Returns the Configuration which was running for a given subsystem at a moment in time
|
ConfigProfile |
getConfigValidAt(String subsystemName,
String name,
String tag,
long date)
Gets a ConfigProfile which was (or is) valid at a precise moment.
|
ConfigProfile |
getNext(ConfigProfile current)
Gets a (deprecated or "alive") ConfigProfile with same name and tag
as the argument
|
ConfigProfile |
getPrevious(ConfigProfile current)
gets a (deprecated) ConfigProfile with same name and tag
as the argument.
|
SubsystemDescription |
getPrevious(SubsystemDescription current)
Gets the (deprecated) SubsystemDescription with same characteritics as the argument
|
String |
getValueValidAt(String subsystemName,
String profileName,
String profileTag,
String parameterPath,
long date)
Gets the value of a Parameter which was valid at a moment in time.
|
ParameterConfiguration |
modifyParmConf(ParameterConfiguration engineeringModeParm)
Registers a modification to a ParameterConfiguration operated
through ConfigProfile.temporaryChangeConfigurationValue
|
ProfileResult |
registerConfigProfile(ConfigProfile newProfile)
Registers a new ConfigProfile in the configuration service.
|
ProfileResult |
registerConfiguration(String subsystemName,
String categoryName,
String configurationName,
String tag,
String user,
int level)
typical remote service: a local properties structure is base for creating a new
ConfigProfile
|
DescriptionResult |
registerSubsystemDescription(SubsystemDescription newDescription)
Registers in the configuration service a new subsystem description (created through
Factories code.
|
List<?> |
simpleHQLRequest(String hqlString)
can send a simple HQL request to the underlying Database.
|
getComponentTree, getEnvironment, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, initModule, listens, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getCheckedValueFromConfiguration, getChildren, getComponentByName, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, notifyChange, notifyChangeWithoutPreliminaryChecks, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic ConfigurationServerModule()
public ConfigurationServerModule(ConfigurationServiceImpl service)
public DescriptionResult registerSubsystemDescription(SubsystemDescription newDescription) throws RemoteException
ConfigurationServiceregisterSubsystemDescription in interface ConfigurationServicenewDescription - do not use this object any more after the callRemoteExceptionpublic DescriptionResult deprecateSubsystemDescription(String subsystemName, String tag) throws RemoteException
ConfigurationServicedeprecateSubsystemDescription in interface ConfigurationServiceRemoteExceptionpublic SubsystemDescription getActiveSubsystemDescription(String name, String tag) throws RemoteException
ConfigurationServicegetActiveSubsystemDescription in interface ConfigurationServiceRemoteExceptionpublic ProfileResult registerConfigProfile(ConfigProfile newProfile) throws RemoteException
ConfigurationServiceregisterConfigProfile in interface ConfigurationServicenewProfile - do not use this object any more after the callRemoteExceptionpublic ProfileResult registerConfiguration(String subsystemName, String categoryName, String configurationName, String tag, String user, int level) throws RemoteException
ConfigurationServiceregisterConfiguration in interface ConfigurationServiceRemoteExceptionpublic ProfileResult deprecateConfigProfile(String subsystemName, String name, String tag) throws RemoteException
ConfigurationServicedeprecateConfigProfile in interface ConfigurationServicename - configuration nameRemoteExceptionpublic ConfigProfile getActiveConfigProfile(String subsystemName, String name, String tag) throws RemoteException
ConfigurationServicegetActiveConfigProfile in interface ConfigurationServiceRemoteExceptionpublic ParameterConfiguration modifyParmConf(ParameterConfiguration engineeringModeParm) throws RemoteException
ConfigurationServicemodifyParmConf in interface ConfigurationServiceengineeringModeParm - a ParameterConfiguration object which is registered in a registered
ConfigProfile object in engineering mode (see Factories.copyProfile
and register the resulting profile before calling this method)RemoteExceptionpublic ConfigProfile getConfigRunningAt(String subsystemName, long date) throws RemoteException
ConfigurationServiceNOTE: this method will not work on "dummy local services"
getConfigRunningAt in interface ConfigurationServiceRemoteExceptionpublic String getActiveValueAt(String subsystemName, String parameterPath, long date) throws RemoteException
ConfigurationServiceNOTE: this method will not work on "dummy local services"
getActiveValueAt in interface ConfigurationServiceRemoteExceptionpublic ConfigProfile getConfigValidAt(String subsystemName, String name, String tag, long date) throws RemoteException
ConfigurationServiceNOTE: this method will not work on "dummy local services"
getConfigValidAt in interface ConfigurationServiceRemoteExceptionpublic String getValueValidAt(String subsystemName, String profileName, String profileTag, String parameterPath, long date) throws RemoteException
ConfigurationServiceNOTE: this method will not work on "dummy local services"
there is no need for a susbsystem name since at a moment in time there is only one subsystem known to a combintaiton of config name and tag.
getValueValidAt in interface ConfigurationServiceRemoteExceptionpublic ConfigProfile getPrevious(ConfigProfile current) throws RemoteException
ConfigurationServicegetPrevious in interface ConfigurationServiceRemoteExceptionpublic ConfigProfile getNext(ConfigProfile current) throws RemoteException
ConfigurationServicegetNext in interface ConfigurationServiceRemoteExceptionpublic SubsystemDescription getPrevious(SubsystemDescription current) throws RemoteException
ConfigurationServicegetPrevious in interface ConfigurationServiceRemoteExceptionpublic List<?> simpleHQLRequest(String hqlString) throws RemoteException
ConfigurationServiceNOTE: this method will not work on "dummy local services"
simpleHQLRequest in interface ConfigurationServiceRemoteExceptionCopyright © 2016 LSST. All rights reserved.