[weld-issues] [JBoss JIRA] Created: (WELD-565) Unhelpful error message if observer message is annotated @Inject

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Jul 21 09:11:52 EDT 2010


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

        


More information about the weld-issues mailing list