[jboss-user] [EJB 3.0] - Re: Not injecting instanceId, no matching enc injector ...

green_bean_1 do-not-reply at jboss.com
Tue Dec 23 10:55:23 EST 2008


According to the spec "EJB Core Contracts and Requirements" section 16.4, simple environment entries can be injected using the @Resource annotation on all primitive wrapper classes + String. ... 

I have tried it with:
<env-entry-name>instanceId</env-entry-name>
AND
<env-entry-name>com.di.examples.ejb/StatlessLifecycle/instanceId</env-entry-name>

and neither seems to work.. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198324#4198324

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198324



More information about the jboss-user mailing list