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