[jboss-user] [JBoss Tools] - Problem with validation for CDI Injection points
Fabricio Lemos
do-not-reply at jboss.com
Tue Aug 31 10:24:08 EDT 2010
Fabricio Lemos [http://community.jboss.org/people/fabricio.lemos] replied to the discussion
"Problem with validation for CDI Injection points"
To view the discussion, visit: http://community.jboss.org/message/559800#559800
--------------------------------------------------------------
Bean on war project:
import javax.enterprise.inject.Model;
import javax.inject.Inject;import test.ExampleBean;
@Model public class ExampleModel {
@Inject private ExampleBean exampleBean;
}
Bean on jar project referenced by the first project:
package test;import javax.ejb.Stateless;@Statelesspublic class ExampleBean {}
I assume the bean is injectable as the project execute ok on the server. Both projects have CDI support enabled.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/559800#559800]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100831/3f705830/attachment.html
More information about the jboss-user
mailing list