[ 
https://issues.apache.org/jira/browse/OWB-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reinhard Sandtner reassigned OWB-1024:
--------------------------------------

    Assignee: Reinhard Sandtner

> DecoratorBeanBuilder : Number of TypeArguments must match - Decorated Type:  
> 2 Delegate Type: 1
> -----------------------------------------------------------------------------------------------
>
>                 Key: OWB-1024
>                 URL: https://issues.apache.org/jira/browse/OWB-1024
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.6
>         Environment: Windows 7 32bit
> Oracle JDK 1.7.0_51
>            Reporter: Bruno
>            Assignee: Reinhard Sandtner
>         Attachments: owbdecorator.zip
>
>
> see attach maven example, throws exception :
> java.lang.RuntimeException: 
> org.apache.webbeans.exception.inject.DeploymentException: 
> org.apache.webbeans.exception.WebBeansConfigurationException: Decorator: 
> org.apache.webbeans.component.creation.DecoratorBeanBuilder@125d53a Number of 
> TypeArguments must match - Decorated Type:  2 Delegate Type: 1
>       at 
> org.apache.myfaces.extensions.cdi.test.owb.AbstractOpenWebBeansTestContainer.startContainer(AbstractOpenWebBeansTestContainer.java:51)
> public interface IService<O extends Object, T extends Object> {
>     boolean test(final O value);
> }
> public interface IExtendService<S extends Serializable> extends
>         IService<S, Number> {
>     boolean another(final S value);
> }
> @Decorator
> public abstract class ServiceDecorator<S extends Serializable> implements
>         IExtendService<S> {
>     @Inject
>     @Delegate
>     @Any
>     private IExtendService<S> delegate;
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to