Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Spring MVC with blueprint
Spring MVC with blueprint [message #989515] Thu, 06 December 2012 10:04
Rigas Grigoropoulos is currently offline Rigas Grigoropoulos
Messages: 5
Registered: November 2012
Junior Member
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.
  • Attachment: helloMVC.zip
    (Size: 38.25KB, Downloaded 77 times)

[Updated on: Thu, 06 December 2012 10:05]

Report message to a moderator

Previous Topic:Managing Your Target Platform with Virgo Tooling
Next Topic:Table LISTING not found in greenpages example
Goto Forum:
  


Current Time: Sat May 18 11:49:16 EDT 2013

Powered by FUDForum. Page generated in 0.01370 seconds