The real problem is that in the old metadata the EnvironmentRefGroup does have jndiRefs,
while in the new Environment does not.
So we need to fix that issue. Then interceptors can have JndiInject again.
Then again,
@JndiInject(jndiName="A")
is the same as
@Resource(mappedName="A")
So we might as well chuck it out the window.
Changing the JndiInjectHandler to accept an Environment and do nothing unless it's a
JBossEnterpriseBeanMD is just killing the whole generic.
We should have made two handler lists one for Environment and one for
JBossEnterpriseBeanMD. With the one for JBossEnterpriseMD containing a deffering handler
to the other list.
As seen in the code, I'm not ready yet to make a final decision. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103868#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...