Hi,

Andrea Zoppello schrieb:
> Hi All,
> 
> In last weeks i've played a lot with declarative services and ds
> factories, and i could say
> i'm very satisfied about that.
> 
> BTW i'm still have a little doubt where i need to go in more further
> details.
> 
> In  my system, i've both declarative services, and ds factories.
> 
> In particular suppose that
> 
> S1 - Is a standard declarative service ( not a component factories )
> F - Is a DS Component Factory
> F1..FN are n instances created by F factory component
> 
> And the suppose tha the factory component have a 1..1 dependency on S1
> 
> Now suppose i want to update the implementation of "S1", when i stop the
> bundle exposing "S1" all
> the services instances F1..FN created with the component factory F will
> be deactivaded.
> 
> This is correct but i would like that when S1 will be restarted F1..F2
> will be reactivaded again..
> 
> I suppose i need to handle this manually myself... but i'd like to
> discuss with the
> community bwich is the best way to do that.

As I understand the specification the DS implementation should activate
your factory instances F1..FN again as soon as the dependency becomes
satisfied again.

Regards
Felix

> 
> 
> Thx
> 
> Andrea Zoppello
> _______________________________________________
> OSGi Developer Mail List
> [email protected]
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to