Documentation/CTK Plugin ConfigAdmin

From Commontk
Revision as of 12:43, 8 February 2011 by Sascha (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Home < Documentation < CTK Plugin ConfigAdmin

The OSGi Componendium Configuration Admin Service specifies a service, which allows for easy management of configuration data for configurable components. Basically configuration is a list of name-value pairs. Configuration is managed by management applications by asking the Configuration Admin Service for such configuration. After updating the configuration, it is sent back to the Configuration Admin Service. The Configuration Admin Service is like a central hub, which cares for persisting this configuration and also for distributing the configuration to interested parties. One class of such parties are the components to be configured. These are registered as ctkManagedService services. There is also a notion of ctkManagedServiceFactory, which allows for multiple configurations of the same kind to be applied.