Details
Description
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;
}