Answer the question
In order to leave comments, you need to log in
How to implement different Spring context for OSGI bundles?
There is an OSGI container with some OSGI bundles.
It is necessary that the bean (described once) in one case had a context singleton for each individual bundle, and in the other context singleton was for absolutely everyone. Is it possible to implement this using Eclipse Equinox and Spring DM?
Unfortunately, there is no experience with OSGi and I could not find an answer for myself. I would be grateful for any information and advice.
Answer the question
In order to leave comments, you need to log in
Perhaps this can be resolved using Spring profiles, and specify the desired profile in each OSGI bundle.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question