Bundle: cm
Version 3.0.4

Configuration Management

The Configuration Management bundle implements the OSGi defined org.orgi.service.cm package, a uniform way to manage bundle configurations.

Description

The Configuration Management bundle is designed to be a uniform way to handle bundle configuration. It contains the ManagedService interfaces to be implemented by bundles that need configuration data, and the ConfigurationAdmin service to be used by management bundles that modify configuration data.

The ConfigurationAdmin interface is the main interface to the Configuration Management component. It is the interface that is registered as a service in the Service Registry and it has methods for creating, retrieving, and listing configurations. The implementation of this interface is responsible for the persistent storage of configurations, and listens for registrations of ManagedServices and ManagedServiceFactories in the Service Registry and passes out configuration data, if available, when they appear.

The cm_commands, bundle provides a console command group to Configuration Management.

The Preference Service, is an alternative method for storing configuration data but it lacks the administrative functions the Configuration Management bundle provides.

See Also

cm_commands, prefs,

Bundle Jar docs

cm_all-3.0.4
cm_api-3.0.4
cm-3.0.4

Exported Packages

PackageVersionProviders
org.knopflerfish.shared.cm1.0.0cm_all-3.0.4, cm-3.0.4
org.osgi.service.cm1.3.0cm_all-3.0.4, cm_api-3.0.4