Skip to content
Advertisement

Tag: osgi

OSGi declarative service is active, but bind() is not called

I’m facing an issue in OSGi context with declarative services which I don’t understand. I try to explain: I have a FooService which needs the FooManagerService (1..1 static). The FooManagerService references the FooService, but it’s optional (0..n dynamic). The goal is, if a FooService becomes available, it registers (bind() method is called) at the FooManagerService, so that the FooManagerService always

Advertisement