Re: Declarative Services problems in Apache Karaf

2017-11-17 Thread MarcoF90
Hi Ray, thanks for your contribution. Now I finally understood all the aspects thanks to everyone's help and deepening on the specifications. For me the post is RESOLVED, but if someone wants to contribute well yet. Kind regards. Marco -- Sent from:

Re: Re[2]: Declarative Services problems in Apache Karaf

2017-11-17 Thread MarcoF90
Hi Thomas, thank you for the example. I will certainly go into the specifications in more detail. What I need is a component that collects all the services that will then be used in the bundle. When all services are available, the bundle starts all bootstrap operations and starts processing

Re: Declarative Services problems in Apache Karaf

2017-11-17 Thread MarcoF90
Hi Thomas, thanks for reply. So for mandatory references there is no difference between STATIC, DYNAMIC or GREEDY and RELUCTANT properties? Each time the component is deactivated? Kind regards, Marco -- Sent from: http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html

Declarative Services problems in Apache Karaf

2017-11-16 Thread MarcoF90
Hi, I am using Declarative Services in Apache Karaf 4.1.3. I notice that in all @Component using @Reference with policy DYNAMIC on attributes cause Component deactivate on service changes. This is an example: @Component(immediate = true) public class Test3 { private static final Logger