Hi,

I have a newbie question regarding bundle lifecycle and declarative services
lifecycle : are they linked together ?
I would like the services of my bundle to be singletons and my bundle should
be activated only when services are instantiated. Is it possible to do that
by configuration ?

Can a service by declaration become a singleton in my bundle ( a la Spring
container) ? i mean all the services dependent on that service should be
bound with the same implementation (for a given bundle).

Considering that my service is a singleton. If i instantiate it in the
bundle activator, can i force my bundle to be activated only when the
service is loaded ?

Thanks for your help,
Luc

Reply via email to