You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2013/08/30 09:35:52 UTC

[jira] [Commented] (DELTASPIKE-405) producer for JsfMessage does not match CDI-1.1 rules

    [ https://issues.apache.org/jira/browse/DELTASPIKE-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754461#comment-13754461 ] 

Mark Struberg commented on DELTASPIKE-405:
------------------------------------------

exactly this very problem. But it seems we have no solution for cdi-1.1 at all.

If we have an injection point of type JsfMessage<SomeMsg>

and the producer is JsfMessage<T> then according to the CDI-1.1 rules it does not resolve, as <T> is NOT for the method but only for the class. If you read your cdi-1.1 rules then you would see that T is ONLY intended if the Producer Method itself extends SomeBaseClass<SpecificType> in which case the producer would be for JsfMessage<SpecificType>. Those rules seem bloody broken to me.
                
> producer for JsfMessage<T> does not match CDI-1.1 rules 
> --------------------------------------------------------
>
>                 Key: DELTASPIKE-405
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-405
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: JSF-Module
>    Affects Versions: 0.4
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 0.5
>
>
> Some containers don't find the JsfMessageProducer as it is of a generic type <T>.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira