Thanks for all your help, it looks like this is much simpler than we
expected. Due to a couple of refactorings, we had removed any java
source references to the package containing our view interface.
Spring-osgi still had references, though. So, maven-bundle-plugin/bnd
dropped references to
This is a generic OSGi service question, I think. We use a mix of
Spring-DM and Felix-SCR for services, but have never had an issue like
this.
Are there any circumstances where a service won't be found by someone
looking for it? My impression is that services are referenced by a
string version
Well, a call to the BundleContext.getServiceReference(s) method is
going to filter based on whether you can see the version of the
interface of the service or not. In certain scenarios, you couldn't
use the service because you see a different version of the interface
then the service actually
Look at org.apache.felix.framework.util.Util#isServiceAssignable
This is the method called to filter ServiceReference for a given bundle.
This method clearly indicate that it will remove any service that has
an unkown interface for the bundle.
On Sat, Mar 21, 2009 at 00:58, Richard S. Hall
4 matches
Mail list logo