|Spring MVC with blueprint [message #989515]
||Thu, 06 December 2012 10:04
| Rigas Grigoropoulos
Registered: November 2012
I have an example WAB using Spring MVC and I want to use blueprint configuration (instead of SpringDM) to reference the OSGi services used.|
So when the bundle is configured as shown in the greenpages example (applicationContext.xml with SpringDM syntax to reference services and setup spring security and hellomvc-servlet.xml to configure MVC) everything works fine.
Then I take the OSGi references in a blueprint configuration in OSGI-INF/blueprint and add the Bundle-Blueprint path in the manifest and although according to the log the blueprint config is processed and the beans are created, the AuthenticationManager bean (referenced as a service in the blueprint) cannot be then found to be injected in the http security configuration (defined in the applicationContext.xml).
Shouldn't this setup be working? I attach all configuration files and the Virgo log.
(Size: 38.25KB, Downloaded 77 times)
[Updated on: Thu, 06 December 2012 10:05]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01370 seconds