You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by griglo <gr...@gmail.com> on 2016/04/20 15:50:19 UTC

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.

RE: Bundle/service depdendency

Posted by griglo <gr...@gmail.com>.
Hi,
here is used blueprint. blueprint.xml
<http://karaf.922171.n3.nabble.com/file/n4046312/blueprint.xml>  



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