Thx, it was the solution. I just havent played to much with DS yet I guess.


On Sat, Dec 7, 2013 at 7:10 PM, Justin Edelson <[email protected]>wrote:

> Hi,
> 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
> deactivated.
>
> It sounds like the hardware service reference needs to be optional and
> dynamic.
>
> Regards,
> Justin
>
> On Sat, Dec 7, 2013 at 12:10 PM, Snorre Lothar von Gohren Edwin
> <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Mvh
Snorre Lothar von Gohren Edwin
MeetMe: http://doodle.com/vonGohren
+47 411 611 94

Reply via email to