tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENEJB-1326) Recognize @Resource.lookup attribute during annotation processing
Date Tue, 10 Aug 2010 19:14:16 GMT
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.


Mime
View raw message