The logic can't be in metadata, because it's also valid to create an injection
target on UserTransaction in xml only. Or we must specify this as a post-condition of
metadata.
I also don't like it in ReferenceMetaDataResolverDeployer, because then it won't
be reusable for EJB Standalone.
For now I would say a post-condition on metadata that these simple resource injections
must have the correct mapped name.
Note that in the end the EJB container will still optimize an injection. So the code in
ResourceHandler must stay.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109737#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...