Hi,

Spring DM is only required if you want to inject OSGi service in your
Spring application context.
If you want to inject OSGi services, you can create your own bean using
bundleContext.
I have in mind to provide a Spring controller, and it's almost already
done in Aries Blueprint AFAIR (I have to check).

Regards
JB

On 11/11/2019 07:37, duan2ping wrote:
> Hi JB
> 
> You said that I can use the new SpringMVC, but I can't use SpringDM.
> 
> I don't know much about SpringDM(SpringDM is a Spring module that implements
> Spring's interaction with OSGi contexts and acquires or publishes OSGi
> services.).
> 
> I understand that Spring DM is required in karaf to use Spring, isn't it?
> 
> Although I can use the new SpringMVC normally in Karaf, but without
> SpringDM, can I get the OSGi service in SpringMVC?
> 
> Regards
> duan
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to