I was messing with the binding of services dynamically with something like that:
but eclipse was all the time complaining about the missing class:
<osgi:reference id="directory" interface="greenpages.Directory">
<osgi:listener bind-method="bind" unbind-method="unbind" ref="bindservice"/>
I went to the bundle repository list to check if that class exists, and I realized that I was using the bundle osgi.core version 1.2.0 that it doesn't have this class:
I downgraded to the 1.1.3.RELEASE version of this bundle:
and now the binding works properly.
My question is, how can I use this class with the 1.2.0 release of this bundle?? Is it in another bundle?
Thank you very much.