It means that the @BindingType annotation is ignored.
In this example, there is no difference between having or not having the XML.
On Wed, Dec 17, 2008 at 8:42 AM, Gurkan Erdogdu <gurkanerdogdu(a)yahoo.com> wrote:
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
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org