[webbeans-dev] [10.2 XML Configuration]

Gurkan Erdogdu gurkanerdogdu at yahoo.com
Tue Dec 16 16:42:03 EST 2008


Hi;

In part 10.2 it says that

            If the annotation type is already declared as a binding type, interceptor binding type or stereotype using annotations, the
          annotations are ignored by the Web Bean manager and the XML-based declaration is used.

What does it mean?

For example I have a component

@PaymentType
class Payment{} 

where @PaymentType is an binding type, that is annotated with @BindingType.

In some webbeans-xml file, there is also binding type
<myapp:PaymentType>
    <BindingType/>
</myapp:PaymentType>.

It means that while webbeans manager scans the Payment component, it does not use @PaymentType on the class level?

Thanks;

Gurkan Erdogdu


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20081216/ca2ff82e/attachment.html 


More information about the weld-dev mailing list