There is a difference but it is subtle. If you are bound to a service that
goes away AND there already exists an alternative service that your
component could bind to, then a Dynamic Reference will re-bind to that
alternative service. This is called "Dynamic Service Replacement" in the
spec.

With a Static Reference in this scenario, your component instance has to be
destroyed, but a new instance will immediately be created that binds to the
alternative service.

Regards,
Neil

On Fri, Nov 17, 2017 at 8:35 AM, MarcoF90 <marco.fierimo...@gmail.com>
wrote:

> Hi Thomas,
>
> thanks for reply. So for mandatory references there is no difference
> between
> STATIC, DYNAMIC or GREEDY and RELUCTANT properties? Each time the component
> is deactivated?
>
> Kind regards,
> Marco
>
>
>
> --
> Sent from: http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-
> f4833200.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>

Reply via email to