Hi, all --

Two simple newbie questions that are a little hard to pin down from the OSGi
documentation I can find ... thanks in advance for answering!

1) If I have a bundle B offering service S, if I stop B then S becomes
unregistered automatically. Pretty sure that's right ... true?

2) Suppose there is a client C that has done getServiceReference followed by
getService but NOT ungetService ... if someone then tries to stop B, they
should get an exception?? True?? 

I believe this because otherwise the validity guarantee provided by
getService doesn't seem to hold value.

Simple questions ... can someone affirm these or explain how I'm wrong??

Thanks!




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Testing-understanding-of-stopping-a-bundle-tp4041991.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to