>>>>> Paul Spencer <[email protected]>:

> Many components can share a configurationPid and changes to properties in the 
> configurationPid will notify all of the components.
> @Component(name = "my-component", immediate = true, configurationPid = 
> "org.apache.karaf.example.config”)
> public class MyComponent {
> …
> }

> @Component(name = “my-anothercomponentt", immediate = true, configurationPid 
> = "org.apache.karaf.example.config”)
> public class MyAnotherComponent {
> …
> }

> @Component(name = “my-thirdcomponent", immediate = true, configurationPid = 
> "org.apache.karaf.example.config”)
> public class MyThirdComponent {
> …
> }

Thanks for the example! I will try!

Reply via email to