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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to