[jboss-user] [Spring Integration] - @Autowiring of beans from Spring applicationcontext
Daniel Cullender
do-not-reply at jboss.com
Wed May 12 15:07:43 EDT 2010
Daniel Cullender [http://community.jboss.org/people/cullendw] replied to the discussion
"@Autowiring of beans from Spring applicationcontext"
To view the discussion, visit: http://community.jboss.org/message/542678#542678
--------------------------------------------------------------
I am not too familiar with the SpringBeanAutowiringInterceptor, but I assume you have read http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/ejb/interceptor/SpringBeanAutowiringInterceptor.html http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/ejb/interceptor/SpringBeanAutowiringInterceptor.html.
Since since you are using Spring 2.5, try using @Qualifier so you would have the following configuration :
@Autowire
@Qualifier("servicio")
private DummyService servicio
and in your application context ...
<bean id="servicio" class="mx.com.tattvait.cyf.service.modulo.impl.DummyServiceImpl"/>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/542678#542678]
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/20100512/2fc23424/attachment-0001.html
More information about the jboss-user
mailing list