[JBoss JIRA] Created: (JBAS-8775) Too aggressive annotation scanning of classes by WarAnnotationMetaDataDeployer leads to incorrect metadata being created
by jaikiran pai (JIRA)
Too aggressive annotation scanning of classes by WarAnnotationMetaDataDeployer leads to incorrect metadata being created
-------------------------------------------------------------------------------------------------------------------------
Key: JBAS-8775
URL: https://issues.jboss.org/browse/JBAS-8775
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Web (Tomcat) service
Reporter: jaikiran pai
The WarAnnotationMetaDataDeployer scans all the classes for Java EE resource injection annotations. The spec specifies only a certain "type" of classes in a web-app which are eligible for resource injection. Annotation scanning of unwanted classes in the web-app leads to an incorrect Environment metadata being created for JBossWebMetaData.
(More details to follow in subsequent replies and forum posts, after the holidays :) )
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month