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

Jozef Hartinger commented on DELTASPIKE-405:
--------------------------------------------

I am sorry but I do not understand what you mean by:

{quote}
<T> is NOT for the method but only for the class
{quote}

A parameterized type with a type variable is a legal bean type, no matter if it 
is a managed bean or a producer method. See for example this part of the spec:

{quote}If the producer method return type is a parameterized type, it must 
specify an actual type parameter or type variable for each type
parameter.{quote}
                
> 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

Reply via email to