Ah, it looks like the behavior is different when uninstalling/reinstalling
the bundles instead of starting/stopping bundles.  Could you verify if this
is expected and how best to handle the scenario for uninstall/reinstall?
Thank you,

regards,
Sunil

On Mon, Feb 18, 2013 at 2:27 PM, Sunil Varghese <[email protected]> wrote:

> Hi,
>
> I'm working through the Felix tutorial and I've been very happy with its
> coverage.  When running example 6, I'm finding that the service event
> listener only triggers on registration of the dictionary object in
> example2b (French).  It does not trigger for the dictionary object in
> example2 (English).
>
> The registration code is the same for both bundles:
>         Hashtable<String, String> props = new Hashtable<String, String>();
>         props.put("Language", "French");
>         context.registerService(
>             DictionaryService.class.getName(), new DictionaryImpl(),
> props);
>
> The service listener is setup in example6 as
>         m_context.addServiceListener(this,
>                 "(&(objectClass=" + DictionaryService.class.getName() +
> ")" +
>                 "(Language=*))");
>
> I don't believe that this behavior is correct and would appreciate if you
> would clarify this.  Thank you,
>
> regards,
> Sunil
>

Reply via email to