Hi
You should take a look on service tracker.
Basically blueprint uses proxy to actual service.
Can you share your blueprint ? It would be easier to explain to workflow.
RegardsJB 


Sent from my Samsung device

-------- Original message --------
From: griglo <[email protected]> 
Date: 20/04/2016  15:50  (GMT+01:00) 
To: [email protected] 
Subject: Bundle/service depdendency 

Hello, I am pretty new to karaf so I might mix up few things while trying to
explain my problem.
Here it is : I have simple bundle (jar built by mvn) which is using service
defined in blueprint file. Service defined in blueprint file is basically
just a map of JDBC connections. My problem is that when I update the
blueprint file directly in karaf's deploy folder, my bundle, which has
dependency on this service won't be updated. Another problem is when I am
doing deploy I need to enforce order otherwise my bundle fails to start if
my blueprint is not loaded and started beforehand. Is there any way how to
tackle these things ? I have already checked something called "karaf's
feature" feature, but I could not find any documentation how to add
dependency on service from blueprint into the feature definition.
Thank you



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Bundle-service-depdendency-tp4046305.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to