[seam-issues] [JBoss JIRA] (JBSEAM-5079) Ejb bean injection between multiple Ejb module
Karoly Torok (JIRA)
jira-events at lists.jboss.org
Thu Mar 14 04:43:41 EDT 2013
Karoly Torok created JBSEAM-5079:
------------------------------------
Summary: Ejb bean injection between multiple Ejb module
Key: JBSEAM-5079
URL: https://issues.jboss.org/browse/JBSEAM-5079
Project: Seam 2
Issue Type: Bug
Components: EJB3
Affects Versions: 2.3.0.Final
Environment: JBoss 7.1.1
Seam 2.3
Reporter: Karoly Torok
Priority: Minor
I'm trying to inject SLSB-s between multiple EJB module/project. These SLSBs are also Seam components (therefore they have both @Name and @Stateless annotation + @Local).
The problem is that each time i want to inject a Bean from another project/module, Seam predicts that the component is under the module from where i inject.
Consider the following:
- MyEar.ear
- MyEjb1.jar
- MySLSB.class
- MyEjb2.jar
- MySeamComponent.class
- MyWar.war
Here i want to inject the MySLSB from the MySeamComponent. However they both belong to separate modules. Behind the curtain Seam predicts that the MySLSB is under the MyEjb2 module. Altough its not.
I'm aware of that from JBoss v7 each beans are binded to a separate namespaces if they are belong to separate modules. Altough im not sure this is the default behaviour if the modules are not isolated (ear-subdeployments-isolated = false).
Any suggestion is warmly welcome.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list