[weld-issues] [JBoss JIRA] Closed: (WELD-457) 4.11. The InjectionPoint object example is non-functional

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Sun Mar 14 05:12:37 EDT 2010


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

Nicklas Karlsson closed WELD-457.
---------------------------------

    Resolution: Done


> 4.11. The InjectionPoint object example is non-functional
> ---------------------------------------------------------
>
>                 Key: WELD-457
>                 URL: https://jira.jboss.org/jira/browse/WELD-457
>             Project: Weld
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.0.1.Final
>            Reporter: Matthieu Chase Heimer
>            Priority: Minor
>             Fix For: 1.0.2.CR1
>
>
> http://docs.jboss.org/weld/reference/1.0.1-Final/en-US/html_single/index.html#d0e1622
> There are 3 code blocks dealing with an HTTP param example (after the logger example)
> In the first block @BindingType should be @Qualifier
> In the second block each line should start with @Inject
> In the third example the producer method uses parameter injection to get a ServletRequest object. ServletRequest is not a valid object to inject which kind of kills the whole example. In fact the note under section "15.1. Built-in beans" says that it may not work and even if it did it would be a bad idea.

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

        


More information about the weld-issues mailing list