[jboss-jira] [JBoss JIRA] (AS7-2164) Warn if CDI annotations present but no beans.xml
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Sun May 6 19:36:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690638#comment-12690638 ]
Stuart Douglas commented on AS7-2164:
-------------------------------------
In a DeploymentUnitProcessor you need to look for CDI annotations in the CompositeIndex (org.jboss.as.jaxrs.deployment.JaxrsAnnotationProcessor has a good example of how to do this).
If CDI annotations are found but it does not have any beans.xml files then log a warning.
> Warn if CDI annotations present but no beans.xml
> ------------------------------------------------
>
> Key: AS7-2164
> URL: https://issues.jboss.org/browse/AS7-2164
> Project: Application Server 7
> Issue Type: Feature Request
> Components: CDI / Weld
> Reporter: Stuart Douglas
> Priority: Minor
> Fix For: Open To Community
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list