[jboss-jira] [JBoss JIRA] (WFLY-3336) Injection of SpringBean into EJB doesn't work if Spring is installed as static module
Tomas Repel (JIRA)
issues at jboss.org
Wed Aug 13 09:24:34 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992619#comment-12992619 ]
Tomas Repel commented on WFLY-3336:
-----------------------------------
Thank you [~swd847], adding annotations="true" to jboss-deployment-structure.xml and creating jandex.idx file for spring-context.jar works. The SpringBeanAutowiringSupport doesn't have to be used.
You may close this issue.
> Injection of SpringBean into EJB doesn't work if Spring is installed as static module
> -------------------------------------------------------------------------------------
>
> Key: WFLY-3336
> URL: https://issues.jboss.org/browse/WFLY-3336
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: EJB
> Affects Versions: 8.1.0.CR1
> Reporter: Tomas Repel
> Assignee: David Lloyd
>
> If you inject SpringBean into EJB using SpringBeanAutowiringInterceptor and the Spring core jars are available as static module, the injection doesn't work.
> Reproducer:
> https://github.com/trepel/WFLY-3336-Reproducer
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list