felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <jus...@justinedelson.com>
Subject Re: DS unsetting the wrong services
Date Sat, 07 Dec 2013 18:10:49 GMT
Your component is configured with three mandatory (1..1), static
references. This means that all three services must be available for
your compnent to be activated. Thus when one of those services goes
away, all three references are unbound and the component is

It sounds like the hardware service reference needs to be optional and dynamic.


On Sat, Dec 7, 2013 at 12:10 PM, Snorre Lothar von Gohren Edwin
<snorre.edwin@gmail.com> wrote:
> Hi
> Im currently using DS in my application and I have a Hardware Driver which
> is registered as a service. The only bundle using this service is a
> consumer of multiple services.
> The hardware driver is not used at any other place than at the consumer.
> But what I experience is that when I stop the hardware driver, it unsets
> all the three services the consumer is referencing. When its only the
> hardware bundle which is stopped.
> My DS component XML can be found here:
> https://gist.github.com/Snorlock/7845460
> Right now I wonder what might be some reasons for this componen to drop all
> services when one of the services disapear?
> Is it because of some of my configurations, such as static, 1..1 or
> something?
> I would like the service to only call the unset method for that partiucalr
> service, not all three referenced.
> --
> Mvh
> Snorre Lothar von Gohren Edwin
> MeetMe: http://doodle.com/vonGohren
> +47 411 611 94

To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org

View raw message