Obviously it works great on the small example... :-)
Ergo: the problem is in my code or more complex than explained...
On 30.09.2014 19:14, Marcel Offermans wrote:
On 30 Sep 2014, at 9:50 am, Bulu <b...@romandie.com> wrote:
Hi all
Using DM I declare adapter services like this
// without filter
mgr.add(createAdapterService(SomeClass.class,null)
.setImplementation(...)
.setCallbacks(...));
// with filter
String someFilter = ...
mgr.add(createAdapterService(OtherClass.class, someFilter))
.setImplementation(...)
.setCallbacks(...));
I notice that, if I first start this adapter bundle and later the SomeClass and
OtherClass appear, all get picked up correctly and forwarded to the callbacks.
However, if first the SomeClass and OtherClass service are present and later the Adapter gets
started, it only picks up the ones without filter (in the example the "SomeClass", but
not the "OtherClass" services).
I know the filter is correct, as it does work when done in the right order. The
services are the same in both cases.
Has anybody else noticed this? Is the problem in my code?
Not sure, could you provide a small working example or test?
Greetings, Marcel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org