Hi!

Where did you do this?
JsfModuleConfig is already specialized 2 times:
* TestJsfModuleConfig in deltaspike-jsf-module-impl tests

* PlaygroundJsfModuleConfig in examples/jsf-playground

Maybe you have one of these in your classpath which confuses your tools?

If not, it should work perfectly fine.

LieGrue,
strub


On Monday, 23 June 2014, 19:25, Rainer Schön <[email protected]> 
wrote:
 

>
>
>Hi all,
>
>When I subclass JsfModuleConfig and annotate it with @Specializes I get a 
>JBoss Tools CDI validator error, stating that my class does not qualify for 
>specialization (Managed bean class annotated @Specializes must directly extend 
>the bean class of another managed bean [JSR-299 §3.1.4]). Firstly I thought, 
>this is a validation bug, but the bean effectively is not installed, when 
>deployed. Finally I installed it by the @Alternative mechanism which does the 
>trick. But I still wonder why this @Specializes should not work in this case. 
>Did anyone have had a similar problem, using DS? I am using WELD as the CDI 
>provider.
>
>Thanks and regards
>Rainer
>
>
>
>
>

Reply via email to