Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

My Spring DM collection doesn change even though the number of OSGi service changes. Whats wrong?

0
Posted

My Spring DM collection doesn change even though the number of OSGi service changes. Whats wrong?

0

Make sure the Spring DM collections are injected into object of compatible types (for example list into java.util.List or java.util.Collection). If the types are not compatible, the container will have to perform type conversion, transforming the Spring DM managed collection into a ‘normal’ one, unaware of the OSGi dynamics.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123