Unhelpful error message if observer message is annotated @Inject
----------------------------------------------------------------

                 Key: WELD-565
                 URL: https://jira.jboss.org/browse/WELD-565
             Project: Weld
          Issue Type: Bug
          Components: Class Beans (Managed and Session), Events
            Reporter: Pete Muir
             Fix For: 1.1.0.BETA1


WELD-000408 
org.jboss.weld.event-ObserverMethod-com.foobar.MyPortableExtension.method 
afterDeploymentValidation(javax.enterprise.inject.spi.AfterDeploymentValidation,
 javax.enterprise.inject.spi.BeanManager) cannot be annotated with @Initializer

* Should say @Inject !
* Should say that observer methods are automatically injection points

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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to