[jboss-user] [Spring Integration] - @Autowiring of beans from Spring applicationcontext
Marius Bogoevici
do-not-reply at jboss.com
Fri May 14 00:07:16 EDT 2010
Marius Bogoevici [http://community.jboss.org/people/marius.bogoevici] replied to the discussion
"@Autowiring of beans from Spring applicationcontext"
To view the discussion, visit: http://community.jboss.org/message/542991#542991
--------------------------------------------------------------
Vladimir,
If you're using JBoss AS 5.x, try this:
1) download Snowdrop from http://jboss.org/snowdrop http://jboss.org/snowdrop and include the snowdrop-vfs.jar in your application
2) use
*
* org.jboss.spring.vfs.context.VFSClassPathXmlApplicationContext
in bean-ref-context.xml (instead of ClassPathXmlApplicationContext) as explained in http://docs.jboss.org/snowdrop/1.0/html/ch02.html#d0e70 http://docs.jboss.org/snowdrop/1.0/html/ch02.html#d0e70)
Spring 2.5.6 cannot scan the CP for classes in JBoss AS 5 due to a bug explained in the same doc.
Hope that helps - for any other questions - feel free to ask.
Marius
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542991#542991]
Start a new discussion in Spring Integration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100514/5157d72b/attachment-0001.html
More information about the jboss-user
mailing list