Hello!I'm trying to understand the ManagedService interface using the 
karaf-config-example-managed shipped in the 4.2.x release (karaf/Activator.java 
at main · apache/karaf · GitHub).
How should I pass the modified properties to another class in the bundle (lets 
say, for example, a @Component registered to be scheduled) after the 
registration of the ManagedService in the Activator?Currently, I'm using:
private MyConf conf;...public static getMyConf() {    return conf;}
And in the other class:....Activator.getMyConf().getMyProperty()...
Is that ok? I think there's probable a better approach that doesn't use a 
static method from the Activator.
Thanks in advanced.Nick.

Reply via email to