[jboss-jira] [JBoss JIRA] Moved: (JBAS-5871) Client Metadata Creator does not take class Hierarchy into account for Main-Class

Emanuel Muckenhuber (JIRA) jira-events at lists.jboss.org
Wed Aug 20 09:22:23 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBAS-5871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emanuel Muckenhuber moved JBMETA-95 to JBAS-5871:
-------------------------------------------------

    Project: JBoss Application Server  (was: JBoss Metadata)
        Key: JBAS-5871  (was: JBMETA-95)


> Client Metadata Creator does not take class Hierarchy into account for Main-Class
> ---------------------------------------------------------------------------------
>
>                 Key: JBAS-5871
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5871
>             Project: JBoss Application Server
>          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