Problem with OSGi Declarative Services [message #136104] |
Mon, 27 July 2009 06:43  |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03908 seconds