You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/08/10 21:26:16 UTC

[jira] Commented: (OPENEJB-1326) Recognize @Resource.lookup attribute during annotation processing

    [ https://issues.apache.org/jira/browse/OPENEJB-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897008#action_12897008 ] 

Jarek Gawor commented on OPENEJB-1326:
--------------------------------------

Went with the reflection option. Changes committed to trunk in revision 984176.


> Recognize @Resource.lookup attribute during annotation processing
> -----------------------------------------------------------------
>
>                 Key: OPENEJB-1326
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1326
>             Project: OpenEJB
>          Issue Type: New Feature
>          Components: deployment
>    Affects Versions: (trunk/openejb3)
>            Reporter: Jarek Gawor
>             Fix For: 3.2
>
>
> OpenEJB needs to recognize @Resource.lookup attribute during annotation processing. The 'lookup' attribute was introduced in the Common Annotations 1.1 spec. The problem is that Java 6 comes with Common Annotations 1.0 classes. In order for OpenEJB to support the lookup attribute OpenEJB needs to 1) use reflection to get the lookup attribute value or 2) be configured at build AND runtime to pick up the right version of the Common Annotations spec (i.e. via -Djava.endorsed.dirs).
> Here's a discussion about this issue: http://openejb.979440.n4.nabble.com/Resource-lookup-td2318912.html#a2318912

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.