[jboss-jira] [JBoss JIRA] Created: (JBMETA-95) Client Metadata Creator does not take class Hierarchy into account for Main-Class

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Aug 13 23:44:40 EDT 2008


Client Metadata Creator does not take class Hierarchy into account for Main-Class
---------------------------------------------------------------------------------

                 Key: JBMETA-95
                 URL: https://jira.jboss.org/jira/browse/JBMETA-95
             Project: JBoss Metadata
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Andrew Lee Rubinger
            Assignee: Emanuel Muckenhuber


Annotated instances are not getting injected when the declaring class is a superclass of the Client Main-Class.

This is a violation of JEE5 Final, Section 5.2.3:

"Resource annotations may appear on any of the classes listed above, or on any superclass of any class listed above. A resource annotation on any class in the inheritance hierarchy defines a resource needed by the application component."

This will apply to more than just the Client Main-Class; should the fix be in OptAnnotationMetaDataDeployer.getClasses() to recurse into the hierarchy?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list