[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.equinox] Problem with OSGi Declarative Services
|
I implemented an OSGi declartive service A which is dependant (references)
on another service B. When I start my application via run configuration
the bind-method with the B parameter is called without problems. However
when I start my feature-based product configuration (containing exactly
the same plugins), the constructor of service A is called, but not the
specified bind-method. When I restart the first (working) run
configuration (see above) the bind-method isn't called anymore...
When I debug the code the reference object looks fine to me. However first
a NoSuchMethodError is thrown and afterwards a cyclic reference-exception
is thrown (though there is no cycle in my service declarations...)
Any idea why this is happening?
Regards and thanks in advance,
Mike