[jboss-user] [EJB 3.0] - Re: Not injecting instanceId, no matching enc injector ...
mopuf
do-not-reply at jboss.com
Tue Dec 23 02:22:23 EST 2008
Hi,
You can only inject managed classes and integer is not.
If you will do something like :
| @Resource Queue stockInfoQueue;
|
will work because this is a managed class. If you try to inejct a bean you shoud try the EJB adnotatin.
Regards,
M
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198176#4198176
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198176
More information about the jboss-user
mailing list