This content has been marked as final.
Show 2 replies
-
1. Re: Annotation to metadata issues
wolfc Dec 3, 2007 4:31 AM (in response to starksm64)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. -
2. Re: Annotation to metadata issues
starksm64 Dec 3, 2007 12:30 PM (in response to starksm64)"wolfc" wrote:
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.
The only thing that can set the mapped name is the annotation creator if its not going to be a deployer.