Package org.sakaiproject.component.api
-
Interface Summary Interface Description ComponentManager ...ServerConfigurationService ServerConfigurationService provides information about how the server is configured.ServerConfigurationService.ConfigData Defines the config data holding classServerConfigurationService.ConfigHistory Defines the config item history classServerConfigurationService.ConfigItem Defines the config item holding classServerConfigurationService.ConfigurationListener Allows a service to be notified when configuration settings are changed, It is up to the implementor to ignore the changes they do not care about.ServerConfigurationService.ConfigurationProvider Allows registration of configuration settings (config items) from outside the Server Configuration Service and the standard set of properties files which will be loaded early on the configuration cycle NOTE: the implemented ConfigurationProvider MUST be a Spring singleton and it MUST be registered in the main Sakai application context from a component (from a webapp will not work), it also must be set explicitly to not lazy initialize (lazy-init="false"), it is always possible to update the configuration later usingServerConfigurationService.ConfigurationProvider.registerConfigItems(ConfigData)so this is mainly for loading configurations very early in the system startup -
Class Summary Class Description ServerConfigurationService.ConfigurationListener.BlockingConfigItem This is a special marker class that is used in theServerConfigurationService.ConfigurationListener, returning this indicates that the config change should stop processing the change and retain the original value