Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Talk:Swordfish Documentation: OSGi Configuration Agent"

(Clarification of concept)
(Clarification of concept)
Line 33: Line 33:
 
ConfigurationSource supplies configuration for the Configuration Agent. As for now there are two types of ConfigurationSources:
 
ConfigurationSource supplies configuration for the Configuration Agent. As for now there are two types of ConfigurationSources:
 
<li>
 
<li>
<ul>PollableConfigurationSource</ul>
+
<ul>PollableConfigurationSource
<ul>ConfigurationSource that posts OSGI events in case configuration has been changed dynamically</ul>
+
<ul>ConfigurationSource that posts OSGI events in case configuration has been changed dynamically</li>
</li>
+

Revision as of 05:40, 6 March 2009

Comment from Volodymyr Zhabiuk:

"There are several mistakes in the description of the OSGi Configuration Agent feature. Will provide my comments inlined into the statements that are incorrect

Current Problem / Pain

Currently the configuration is distributed between multiple Bundles. This makes it inconvenient to administrate configurations.

All the configurations are stored within the org.eclipse.swordfish.core bundle


When a new Plugin/OSGi Bundle is added to Swordfish it can immediately retrieve al necessary configuration from the Configuration Bundle

Already done

Provide a Configuration agent, which retrieves configuration from OSGi bundles. One Bundle contains all Swordfish configuration. This can be installed and deployed into Equinox. This enables dynamic re-configuration.

It’s almost done. Only the dynamic reconfiguration feature needs to be tested. The Configuration Agent have been implemented"

Clarification of concept

Question from Joerg Drescher: Is there a better description regarding the "configuration bundle" ?



Volodymyr Zhabiuk:


Configuration bundle contains all Swordfish configuration. It also starts the Configuration Agent, that tracks ConfigurationConsumers and different kinds of ConfigurationSources. ConfigurationConsumer is basically the configuration listener, that can be subscribed to receive configuration for the specified PID. ConfigurationSource supplies configuration for the Configuration Agent. As for now there are two types of ConfigurationSources:

    • PollableConfigurationSource
        ConfigurationSource that posts OSGI events in case configuration has been changed dynamically
  • Back to the top