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

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Aug 5 09:36:49 EDT 2010


     [ https://jira.jboss.org/browse/WELD-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELD-565.
--------------------------

      Assignee: Pete Muir
    Resolution: Done


> 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
>            Assignee: 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