[jboss-user] [EJB 3.0] - Re: Question about injecting env-entry into interceptor

sbivol do-not-reply at jboss.com
Fri Jan 5 13:58:07 EST 2007


Actually, it works for me only if I specify in the ejb-jar.xml the injection target, as shown in the original message (I use @Resource annotation without any parameters though)

However, If I understand the spec correctly, it should work without specifying the <injection-target>, just env-entry name, type, and value. Also, as long as the name is the same as the interceptor's property in the java class, it should work with @Resource, no parameters.

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

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



More information about the jboss-user mailing list