]
Emanuel Muckenhuber resolved JBAS-5871.
---------------------------------------
Fix Version/s: JBossAS-5.0.0.CR2
Resolution: Done
Rev. 77019
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
Fix For: JBossAS-5.0.0.CR2
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: